2021-01-29 11:21:46 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO mixxxdj/libkeyfinder
|
2022-01-05 12:01:21 +08:00
|
|
|
REF v2.2.6
|
|
|
|
SHA512 c1b771cebfb925db521a344e28fd1d3bc6e6e921e45dcc81f90926e5b2020fea201a4bc05a65177d3559208a45746fd7784eb6f37352bb10ab7d7b820b40c0b6
|
2021-01-29 11:21:46 +08:00
|
|
|
HEAD_REF main
|
|
|
|
)
|
|
|
|
|
2021-09-04 08:37:20 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2023-04-19 06:25:23 +08:00
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTING=OFF
|
2021-01-29 11:21:46 +08:00
|
|
|
)
|
|
|
|
|
2021-09-04 08:37:20 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-01-29 11:21:46 +08:00
|
|
|
vcpkg_copy_pdbs()
|
2021-09-04 08:37:20 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME KeyFinder CONFIG_PATH lib/cmake/KeyFinder)
|
2022-01-05 12:01:21 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2021-01-29 11:21:46 +08:00
|
|
|
|
2021-09-04 08:37:20 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2021-10-28 06:19:28 +08:00
|
|
|
|
2022-01-05 12:01:21 +08:00
|
|
|
file(REMOVE_RECURSE
|
|
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/debug/share")
|