mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 02:49:08 +08:00
19 lines
590 B
CMake
19 lines
590 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Tessil/robin-map
|
|
REF v1.2.1
|
|
SHA512 9e08c6b5b06d26e18d85b36c79ec855bc3220843bc358f53f3eb269bd8d20350871a9686ad77b2b462ca104e4cc62a0745a71d62bd1f69c8f50d29788eac63e1
|
|
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)
|