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
|
2023-02-04 06:21:16 +08:00
|
|
|
REF 1505cbbce733bde3b78042cf2e9309c0b7f227a2
|
|
|
|
SHA512 4759f84ee71f08108e0ad61436c940e96f494816d6b0d1fda64d880a6cb2eaa54f6422fa2ae680564d8cb8bd52b3589a4a92bed9422077d9b1ee4ee874b6ef7e
|
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()
|
|
|
|
|
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")
|