mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 20:21:37 +08:00
40027831fd
* [args] update to latest version * update version files * correct version field * update version file
26 lines
762 B
CMake
26 lines
762 B
CMake
#header-only library
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Taywee/args
|
|
REF ae22269df734a2b0957a9ab4e37be41f61866dbe
|
|
SHA512 fe44bc6b7b81013ce649e3fa33c3d9503747a3c9044b70cf9eaf8ff780f2feabdabc261a33d29042daec19a598e3d60e318d3d415cbffb5fdcd2aabdd2ef39db
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DARGS_BUILD_UNITTESTS=OFF
|
|
-DARGS_BUILD_EXAMPLE=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
# Put the licence file where vcpkg expects it
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
|
|
|
vcpkg_copy_pdbs()
|