vcpkg/ports/glaze/portfile.cmake
Ómar Högni Guðmarsson 4eda0e3c70
[glaze] update 1.2.2 (#31249)
* Glaze updated to 1.2.2

* Vcpkg version database update
2023-05-05 11:17:13 -07:00

25 lines
603 B
CMake

if(VCPKG_TARGET_IS_LINUX)
message("Warning: `glaze` requires Clang or GCC 10+ on Linux")
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stephenberry/glaze
REF "v${VERSION}"
SHA512 8016328a347dac7c4826cb5ff944d38b1b32dd2fbfe9080f73e3351d2f3682c06c5500f05b2f2dfda5925af8605469b26f78f2522ff498a2131867edceb7b709
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")