vcpkg/ports/unordered-dense/portfile.cmake
Rémy Tassoux 7505916685
[unordered-dense] New port (#31856)
* [unordered-dense] New port

* [unordered-dense] Update version files

* [unordered-dense] Add missing version file

* [unordered-dense] Add license

* [unordered-dense] Update version files
2023-06-06 16:24:14 -07:00

27 lines
646 B
CMake

vcpkg_minimum_required(VERSION 2023-04-07)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinus/unordered_dense
REF v${VERSION}
SHA512 105eb88deeb89c9424973d2b5425a6e176f3f66a45f11cf6ed520cce177918cd5345e840d10561f6f790b6cc11b7b6e1357bd2fc4d199254a360de88ce553fe0
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
PACKAGE_NAME unordered_dense
CONFIG_PATH lib/cmake/unordered_dense
)
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug"
"${CURRENT_PACKAGES_DIR}/lib"
)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")