vcpkg/ports/glaze/portfile.cmake
2023-12-04 17:31:32 -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 47f069b44102cd8fa67b8ec8424a31e549c213ded4510e50065fd8fad4141c036f30bec000e7a934cca3d2f32bbfe573fd7707b870ddd915cc1fa55f5699db86
)
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")