2021-03-16 01:58:30 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO martinus/robin-hood-hashing
|
2022-01-19 05:47:31 +08:00
|
|
|
REF 3.11.5
|
|
|
|
SHA512 5f73e089b1e8ec41a9bedded22bc64a789d3a3d04873a2ad9f8cc2970797a473b0f4d3436c2324b3ced85a0d983998a75b1dfaf2b7f3b77235b29806ff2fd489
|
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)
|