mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-21 09:18:25 +08:00
fbc868ee5e
* Update glaze v1.2.6 * update database
25 lines
610 B
CMake
25 lines
610 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 a57b7807ff99a7388e4b19564ba7505fc7e8e3ac9a1b6c02335d2c5ef65b0e9e015aa3e7795e634855e013ccea8049efbbe72ca0d9c738e2f0480f86e1e26b5e
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-Dglaze_DEVELOPER_MODE=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|