vcpkg/ports/tsl-ordered-map/portfile.cmake
Jack·Boos·Yu 6aa4fca940
[many ports]switch to vcpkg-cmake / vckg-cmake-config part 5 (#29918)
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 5

* version

* typo

* typo

* fix build

* version

* deprecated vcpkg_extract_source_archive_ex

* version

* fix argument

* version

* Rename argument

* version

* More changes about argument

* wrong op

* version

---------

Co-authored-by: jyu49 <yu_jack@apple.com>
2023-03-01 10:39:29 -08:00

20 lines
535 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Tessil/ordered-map
REF 4051af7e344e0c0c6af5573b064342c0987d1028 # v1.0.0
SHA512 c4789df12db34bba1a1b2e07ada39afd6bfb637d34006675ee7f83253e49b5741d301cebb7c368c7a99311c51304f844a6229d00df3717e346e5fc1254e7721b
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright
)