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-28 13:47:36 +08:00
|
|
|
SHA512 d2adcc18cb5a06ee6ba96f9d905a7cebd7c566eae3d6b91111e3b71a2f121bd5bd1ce84892aefcc1df05569132bed69de097168e8dc33f5ab76aa8e0e8d9af74
|
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")
|