2018-01-05 10:46:58 -08:00
|
|
|
#header-only library
|
2018-02-23 22:20:39 -08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Taywee/args
|
2022-04-01 14:33:20 -07:00
|
|
|
REF 6.3.0
|
|
|
|
SHA512 7d554719781d5a096883e37cd5c1706782d06c2c4d7a9598142aec7f2e38d63438e82960b60a705baeb2aa5d31143c83fa6c0d1331a36b16f564a5ea56ad451d
|
2018-02-23 22:20:39 -08:00
|
|
|
HEAD_REF master
|
2018-01-05 10:46:58 -08:00
|
|
|
)
|
|
|
|
|
2021-03-22 15:35:03 -07:00
|
|
|
vcpkg_cmake_configure(
|
2021-11-05 14:28:17 -07:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-05-01 19:20:23 -05:00
|
|
|
OPTIONS
|
|
|
|
-DARGS_BUILD_UNITTESTS=OFF
|
|
|
|
-DARGS_BUILD_EXAMPLE=OFF
|
2018-05-09 09:48:20 +08:00
|
|
|
)
|
|
|
|
|
2021-03-22 15:35:03 -07:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
2021-11-05 14:28:17 -07:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2019-05-01 19:20:23 -05:00
|
|
|
|
2018-01-05 10:46:58 -08:00
|
|
|
# Put the licence file where vcpkg expects it
|
2021-11-05 14:28:17 -07:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2018-01-05 10:46:58 -08:00
|
|
|
|
2021-11-05 14:28:17 -07:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|