vcpkg/ports/robin-hood-hashing/portfile.cmake
Rémy Tassoux c5c3764a54
[robin-hood-hashing] Update to 3.11.4 (#21971)
* [robin-hood-hashing] Update to 3.11.4

* [robin-hood-hashing] Update version files

Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
2021-12-13 12:22:51 -08:00

27 lines
677 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinus/robin-hood-hashing
REF 3.11.4
SHA512 9276fa2b397710c6687e094aa2c427e3de64037fe2a065381f3ae25c6b99555a65a3a3719095c4fcdae9ea5da3fbf3cf44adeb7b293fea8c0ef36d0eb705b9eb
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DRH_STANDALONE_PROJECT=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
PACKAGE_NAME robin_hood
CONFIG_PATH lib/cmake/robin_hood
)
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug"
"${CURRENT_PACKAGES_DIR}/lib"
)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)