2019-04-18 03:05:28 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO daniele77/cli
|
2022-04-26 06:40:38 +08:00
|
|
|
REF v2.0.1
|
|
|
|
SHA512 cf91512bb960ead60b7a2a021e3851b998a2228f482a1a7921acb3e2ab4ff10e542c6c910997326b3e059cef7509223ec34077ce545d9af29d8903e8fecfd5ac
|
2019-04-18 03:05:28 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-08-31 01:25:27 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-04-18 03:05:28 +08:00
|
|
|
)
|
|
|
|
|
2021-08-31 01:25:27 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-04-18 03:05:28 +08:00
|
|
|
|
2021-08-31 01:25:27 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cli)
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2021-10-28 06:19:28 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|