2023-04-28 06:25:13 +08:00
|
|
|
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}"
|
2023-07-18 04:16:46 +08:00
|
|
|
SHA512 6a058904028b399ee5d124e5327051e59de64c58841a433860fd27e70836a859c0109ad0eecc622daf08703c2814da71077f5a9f0bb845ee7cd0a6927d471253
|
2023-04-28 06:25:13 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
2023-05-10 05:57:10 +08:00
|
|
|
-Dglaze_DEVELOPER_MODE=OFF
|
2023-04-28 06:25:13 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|