2018-05-02 06:55:59 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Tessil/robin-map
|
2024-03-23 08:09:23 +08:00
|
|
|
REF "v${VERSION}"
|
2024-06-22 05:32:33 +08:00
|
|
|
SHA512 862cb98d771d1acb692e27d1cc8a4f2cda0883b66af7b38b63ea702ed2d4fc4d49e5700ca4d5f5148fee132f36e111c4839d4f8c52c96a9c60f3937d941b2320
|
2018-05-02 06:55:59 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-05-18 14:47:21 +08:00
|
|
|
vcpkg_cmake_configure(
|
2022-04-19 07:37:54 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-05-02 06:55:59 +08:00
|
|
|
)
|
2021-05-18 14:47:21 +08:00
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
2022-09-22 03:28:17 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME tsl-robin-map CONFIG_PATH share/cmake/tsl-robin-map)
|
2021-05-18 14:47:21 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
|
2022-04-19 07:37:54 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|