vcpkg/ports/glaze/portfile.cmake
Ómar Högni Guðmarsson ee34d77c7b
[Glaze] Update to version 1.8.1 (#35393)
* Glaze update 1.8.1

* Update database
2023-12-01 02:09:43 -08:00

24 lines
616 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 8ae5ff0b6d13a1b2895ababa8264b20f50705c3a29d0ff875ca830b5588b7ac2df8f9b41e56a4af68acfeb93702df6220be7a84e7e38e46f5983f901d9084b3c
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dglaze_DEVELOPER_MODE=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")