vcpkg/ports/glaze/portfile.cmake

26 lines
672 B
CMake
Raw Normal View History

if(VCPKG_TARGET_IS_LINUX)
message("Warning: `glaze` requires Clang15+ or GCC 12+ on Linux")
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stephenberry/glaze
REF "v${VERSION}"
2024-09-18 05:10:56 +08:00
SHA512 6e3cdc974cff8b3d374596e23d868fc582804b3228c84f9b1c88307765afa81fc7c5f25c38bae345ad489a69f871c4907053d0b4ef5347430e096ee714648934
2024-08-16 09:31:49 +08:00
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dglaze_DEVELOPER_MODE=OFF
2024-08-16 09:31:49 +08:00
-Dglaze_BUILD_EXAMPLES=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
2023-09-07 06:43:20 +00:00
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")