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}"
|
|
|
|
SHA512 704133fb83beebc5942da5674b5f3563c64ec7017b33570a1f1433aa820a86882c42b16832efc215cd74f619a0a45493748655aa5af97bd3ff82d62f34b68f69
|
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)
|
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)
|