2023-04-27 22:25:13 +00: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-10-24 09:06:44 -07:00
|
|
|
SHA512 c4f89aa0fd28a821f977a7b363985ba6a88b54a22d76beea27d2750d3d912a46092ed436b010f679237a83f6375d2fba7c4e54cbf4650f2ba1e7bdf7b1804c59
|
2023-04-27 22:25:13 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
2023-07-31 20:25:53 +02:00
|
|
|
-Dglaze_DEVELOPER_MODE=OFF
|
2023-04-27 22:25:13 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
2023-07-31 20:25:53 +02:00
|
|
|
vcpkg_cmake_config_fixup()
|
2023-04-27 22:25:13 +00:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
|
2023-09-07 06:43:20 +00:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|