vcpkg/ports/cwalk/portfile.cmake
Jia Yue Hua 2e59b8243b
[cwalk] update to 1.2.9 (#36620)
* [cwalk] update to 1.2.9

* [cwalk] update to 1.2.9

* bde config fix
2024-02-07 12:29:55 -08:00

23 lines
666 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO likle/cwalk
REF "v${VERSION}"
SHA512 d29c83bb350a5477e450cdb86b1edf7232296aed67680345a84fee967ff414d5c997ac313e38620b51cda21398cc5d19c8130fe999ecd6b0161e81b3566f5516
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DENABLE_TESTS=OFF
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cwalk)
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)