vcpkg/ports/glaze/portfile.cmake

24 lines
616 B
CMake
Raw Normal View History

if(VCPKG_TARGET_IS_LINUX)
message("Warning: `glaze` requires Clang or GCC 11+ on Linux")
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stephenberry/glaze
REF "v${VERSION}"
SHA512 65276b6b9147d6913ddd31f9cb5b22bfa7442072a53ab9f44978e8fdeefa2237f7da616e2bcd0665abc2ffe72d8dd7f4f7fa1e9cba5506fee71012ebfa0352d5
)
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")
2023-09-07 14:43:20 +08:00
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")