mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 03:30:38 +08:00
fa93152c9b
* [parallel-hashmap] update version to 1.34
* run `vcpkg x-add-version --all` and change `version-string` to `version`
* make suggested changes
* add changes suggested by @JonLui1993
* ran `vcpkg x-add-version --all ` as suggested
* update version
* update parallel-hashmap.json
* initial version
* finish adding gtl port
* add suggested changes (quotes around paths)
* Update gtl.json
* add quotes to paths as suggested.
* Update vcpkg.json
* fix error: Error: String `1.00` is not a valid Relaxed version string (semver with arbitrary numeric identifiers)
* Revert "add quotes to paths as suggested."
This reverts commit 3b3f8daa0f
.
* Update gtl.json
* remove old version as suggested by @Thomas1664
Co-authored-by: Jonliu1993 <13720414433@163.com>
22 lines
723 B
CMake
22 lines
723 B
CMake
#header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO greg7mdp/gtl
|
|
REF 1.00
|
|
SHA512 842a5e2634919a04fdd87995a8ada2f949c51a070a7c175043e0f9105a93248325023f85b28f9406276c2912a0fb4015a2e9ba30113d4a0214492da0dc5e5716
|
|
HEAD_REF main
|
|
)
|
|
|
|
# Use greg7mdp/gtl's own build process, skipping examples and tests
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
vcpkg_cmake_install()
|
|
|
|
# Delete redundant directories
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/share/doc")
|
|
|
|
# Put the licence file where vcpkg expects it
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|