mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 00:19:00 +08:00
ff0ee59814
* Update glaze to 2.0.6 * vcpkg update database
24 lines
616 B
CMake
24 lines
616 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 0f15e8aa33f62075bb68cd541ef5a0c02da373b0cdfd1ec7bfe3a52428dda99b100eb5a1e0b9c486e655914d2d5fc5d16e9e1f3c2016b277badc54333c06be83
|
|
)
|
|
|
|
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")
|