2020-12-02 05:52:56 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO likle/cwalk
|
2023-10-03 11:49:32 +08:00
|
|
|
REF "v${VERSION}"
|
2024-02-08 04:29:55 +08:00
|
|
|
SHA512 d29c83bb350a5477e450cdb86b1edf7232296aed67680345a84fee967ff414d5c997ac313e38620b51cda21398cc5d19c8130fe999ecd6b0161e81b3566f5516
|
2020-12-02 05:52:56 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-11-16 06:32:32 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-12-02 05:52:56 +08:00
|
|
|
OPTIONS
|
|
|
|
-DENABLE_TESTS=OFF
|
|
|
|
)
|
|
|
|
|
2021-11-16 06:32:32 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-12-02 05:52:56 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2021-11-16 06:32:32 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cwalk)
|
2024-02-08 04:29:55 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-12-02 05:52:56 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2021-11-16 06:32:32 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|