2021-03-16 01:58:30 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO martinus/robin-hood-hashing
|
2021-12-14 04:22:51 +08:00
|
|
|
REF 3.11.4
|
|
|
|
SHA512 9276fa2b397710c6687e094aa2c427e3de64037fe2a065381f3ae25c6b99555a65a3a3719095c4fcdae9ea5da3fbf3cf44adeb7b293fea8c0ef36d0eb705b9eb
|
2021-03-16 01:58:30 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
2021-12-14 04:22:51 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-03-16 01:58:30 +08:00
|
|
|
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
|
2021-12-14 04:22:51 +08:00
|
|
|
"${CURRENT_PACKAGES_DIR}/debug"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/lib"
|
2021-03-16 01:58:30 +08:00
|
|
|
)
|
|
|
|
|
2021-12-14 04:22:51 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|