2022-02-05 08:37:39 +11:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2023-08-03 19:26:49 +02:00
|
|
|
REPO offscale/rhasheq
|
|
|
|
REF cf5442f6468871beb6088991501e6ba052fe4467
|
|
|
|
SHA512 2be63bc32c7cea35eefbcc7186255e9cd8ba6ed4b03cb9ee2e62740fe17ad74a81ee7e4ada37f4a2dca99a82becf790d6aa86822cdbeba3972cf11d54095ca91
|
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
|
|
|
find-rhash.patch
|
2022-02-05 08:37:39 +11:00
|
|
|
)
|
|
|
|
|
2023-08-03 19:26:49 +02:00
|
|
|
file(REMOVE "${SOURCE_PATH}/cmake/modules/FindLibRHash.cmake")
|
|
|
|
|
2022-02-05 08:37:39 +11:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
2023-08-03 19:26:49 +02:00
|
|
|
-DBUILD_TESTING=OFF
|
2022-02-05 08:37:39 +11:00
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
2023-08-03 19:26:49 +02:00
|
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
|
2022-02-05 08:37:39 +11:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2023-08-03 19:26:49 +02:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|