vcpkg/ports/rhasheq/portfile.cmake
Thomas1664 06a42bb8ab
[c89stringutils, rhasheq] Update (#32829)
* [c89stringutils] Update to 0.0.2

* test UWP

* [rhasheq] Update to latest commit

* version

* version

* Use correct date

* version

* Add rhash patch

* version

* add find_dependency

* version

* remove custom find module

* version
2023-08-03 10:26:49 -07:00

23 lines
651 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO offscale/rhasheq
REF cf5442f6468871beb6088991501e6ba052fe4467
SHA512 2be63bc32c7cea35eefbcc7186255e9cd8ba6ed4b03cb9ee2e62740fe17ad74a81ee7e4ada37f4a2dca99a82becf790d6aa86822cdbeba3972cf11d54095ca91
HEAD_REF master
PATCHES
find-rhash.patch
)
file(REMOVE "${SOURCE_PATH}/cmake/modules/FindLibRHash.cmake")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")