mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 15:19:00 +08:00
60adafa10a
* Glaze update 1.9.5 * vcpkg update database
24 lines
617 B
CMake
24 lines
617 B
CMake
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 59c2b332c53c33c4410e3617c65ddf0aa592b985400a7ec7247af0fe561d33de3b94e8ea4ea143dcb7e55bd29f4b169ee79e99281bf493a8185172194195e574
|
|
)
|
|
|
|
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")
|