vcpkg/ports/robin-hood-hashing/portfile.cmake
Ryan 2fc1582826
[robin-hood-hashing] update to 3.10.0 (#16701)
* [robin-hood-hashing] update to 3.10.0

* update version files

* fix version field

* update version
2021-03-15 10:58:30 -07:00

27 lines
667 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinus/robin-hood-hashing
REF 3.10.0
SHA512 38ab7fa33a1516933155dda06e3b83860810c33cc6ae4fa48e31389da870bb8037a210a4596576061ef67b51e791d2c7ab5a02dad5e323612e53dff7561801ff
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)