mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 21:19:06 +08:00
24 lines
616 B
CMake
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 191200d799ad484aae9e4774d420782e6e6f68770cda4c3c9518f78befb5ddf1cc9611b8efb757a44b3217a6e7c41530af3bb2098252b309c46db96557b555f8
|
|
)
|
|
|
|
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")
|