2018-11-08 15:44:36 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO emil-e/rapidcheck
|
2024-05-03 13:03:09 +08:00
|
|
|
REF ff6af6fc683159deb51c543b065eba14dfcf329b
|
|
|
|
SHA512 79f1e869a3c55f62d3609cc4b3a56977f720c3eacf5e1792aa3a9bd5ab90aa077371bc0902d6c31503885f9ebcc633ed242ae6995866cb46fd12afdf425500e3
|
2018-11-08 15:44:36 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-12-21 00:37:07 +08:00
|
|
|
vcpkg_cmake_configure(
|
2023-02-04 06:21:16 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-11-08 15:44:36 +08:00
|
|
|
OPTIONS
|
|
|
|
-DRC_INSTALL_ALL_EXTRAS=ON
|
|
|
|
)
|
|
|
|
|
2021-12-21 00:37:07 +08:00
|
|
|
vcpkg_cmake_install()
|
2023-02-04 06:21:16 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "share/${PORT}/cmake")
|
2018-11-08 15:44:36 +08:00
|
|
|
vcpkg_copy_pdbs()
|
2024-05-03 13:03:09 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2018-11-08 15:44:36 +08:00
|
|
|
|
2023-02-04 06:21:16 +08:00
|
|
|
file(REMOVE_RECURSE
|
|
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/debug/share"
|
|
|
|
)
|
2018-11-08 15:44:36 +08:00
|
|
|
|
2023-02-04 06:21:16 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|