vcpkg/ports/glaze/portfile.cmake

25 lines
610 B
CMake
Raw Normal View History

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
)
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")