vcpkg/ports/glaze/portfile.cmake
Ómar Högni Guðmarsson b182703f4c
[Glaze] Update 1.5.7 (#34895)
* Glaze update 1.5.7

* Update database

---------

Co-authored-by: Ómar Högni Guðmarsson <kind@rolla.me>
2023-11-06 09:38:52 -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 4b9fb73790892cb7543ee94e773ff706f9fad46cd95c472b68d1f535413bc2b46c2d36970cbe31858444a5463ec19215ef50f4c37e8efe5f4f23c61acf7a53ed
)
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")