mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 01:47:50 +08:00
8a875a6fc0
Update to 2.6.4, previous version has broken support for clang16+, https://github.com/stephenberry/glaze/releases/tag/v2.6.4 Fixed message aswell, dropped support of gcc11 in version 2.6.3, https://github.com/stephenberry/glaze/releases/tag/v2.6.3 - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [ ] The "supports" clause reflects platforms that may be fixed by this new version. - [ ] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [ ] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
24 lines
619 B
CMake
24 lines
619 B
CMake
if(VCPKG_TARGET_IS_LINUX)
|
|
message("Warning: `glaze` requires Clang15+ or GCC 12+ on Linux")
|
|
endif()
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO stephenberry/glaze
|
|
REF "v${VERSION}"
|
|
SHA512 838a155ca4aebd974a9cadd2c2ea14ec1475d10ebbdf1a4836a1daf079acbd30345fdeedd19df3febfad2cc69fb9c8e96e6780e4579f1edba044349bbc35a0eb
|
|
)
|
|
|
|
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")
|