vcpkg/ports/glaze/portfile.cmake
Ómar Högni Guðmarsson 020874c1d6
[Glaze] Update V1.3.5 (#33192)
* [Glaze] Update v1.3.5

* Update database

* Glaze remove port-version

* Update database
2023-08-16 12:26:23 -07:00

24 lines
620 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 277ad9fa36d0cb381a366e481e0c388961bfdb0d230f0bb0185e3515b0aa55667e0fc65e3f6f6321218b897691afc20fd4997266127d054141579d67b8a0d107
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dglaze_DEVELOPER_MODE=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")