vcpkg/ports/robin-map/portfile.cmake
Cheney Wang 28d6249542
[robin-map] Fix error when use find_package(robin-map CONFIG REQUIRED) (#26633)
* [tsl-robin-map] Rename robin-map to tsl-robin-map

* format-manifest

* Let robin-map be an empty port

* x-add-version

* Add empty line

* Add PACKAGE_NAME tsl-robin-map

* Add missing port
2022-09-21 12:28:17 -07:00

19 lines
590 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Tessil/robin-map
REF v1.0.1
SHA512 5741049287fdb9c3316e1eb84b99343efc7b35f492e1db8166d65c2d16c7905f51b11cf164bedae9e44d4b6000bbea3c49012acf725a977e665a8dc23e89b1fb
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME tsl-robin-map CONFIG_PATH share/cmake/tsl-robin-map)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)