mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 14:49:00 +08:00
98f80d86f2
* update parallel_hashmap version * Update portfile.cmake * Update CONTROL * Update portfile.cmake for parallel_hashmap * bump parallel-hashmap to latest github release * Update parallel_hashmap version to 1.32 (current) * Update CONTROL * update portfile as requested
25 lines
840 B
CMake
25 lines
840 B
CMake
#header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO greg7mdp/parallel-hashmap
|
|
REF 1.32
|
|
SHA512 838358bf5899876a53accea8a10e051d35189b4105b6bc01dfe4f3ff01fdbe68986efb36341cc3082bc58419be33735e76350a2fd9501c2cace153f9d4321f24
|
|
HEAD_REF master
|
|
)
|
|
|
|
# Use greg7mdp/parallel-hashmap's own build process, skipping examples and tests
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
vcpkg_install_cmake()
|
|
|
|
# Delete redundant directories
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/share/doc)
|
|
|
|
file(COPY ${SOURCE_PATH}/phmap.natvis DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
# Put the licence file where vcpkg expects it
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|