[yomm2] Update to v1.5.1 (#38450)

- [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.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] 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.
This commit is contained in:
Fabien Péan 2024-04-29 15:07:01 +02:00 committed by GitHub
parent 3816763b9b
commit 835a0dd483
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 22 additions and 18 deletions

View File

@ -1,21 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c50fd44..f550c2e 100644
index 9c5e446..f550c2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@
# Find Boost dependency
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
include(cmake/find_or_download_package.cmake)
-find_or_download_package(Boost INSTALL_WITH_YOMM)
+find_package(Boost REQUIRED)
message(STATUS "Using Boost libraries from ${Boost_INCLUDE_DIRS}")
if(NOT ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") AND (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"))
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c50fd44..f550c2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,7 +73,6 @@
@@ -76,7 +76,6 @@
COMMAND ${CMAKE_SOURCE_DIR}/dev/code2md "${readme_cpp}" "${readme_md}"
DEPENDS "${readme_cpp}")
endif()
@ -24,3 +11,15 @@ index c50fd44..f550c2d 100644
## Install instruction
# Create version file for cmake package
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9c5e446..f550c2d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,2 +25,3 @@
target_link_libraries(yomm2 PUBLIC Boost::headers)
+ target_compile_features(yomm2 PUBLIC cxx_std_17)
if (${YOMM2_CHECK_ABI_COMPATIBILITY})
@@ -44,2 +44,3 @@
target_link_libraries(yomm2 INTERFACE Boost::headers)
+ target_compile_features(yomm2 INTERFACE cxx_std_17)
endif()

View File

@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jll63/yomm2
REF "v${VERSION}"
SHA512 5b2c4e68df88893e0179f355da255401bc13863079a040c6b3b942c6be076263911bde51afca73e69fbb1e8bec5bc0f9d9549974bdd8ab01ea8dc571dcf8de4b
SHA512 7703523f994b00d8d890039d1765c1e60355d4edb1fc44af58463f76d2bce3a87372e5e0c257b7706f5ae82faaea1844811db60ec4e3f7f41537fb24d0c369db
HEAD_REF master
PATCHES "fix_install.patch"
)

View File

@ -1,6 +1,6 @@
{
"name": "yomm2",
"version": "1.5.0",
"version": "1.5.1",
"description": "YOMM2 is an implementation of open multi-methods.",
"homepage": "https://github.com/jll63/yomm2",
"license": "BSL-1.0",

View File

@ -9577,7 +9577,7 @@
"port-version": 0
},
"yomm2": {
"baseline": "1.5.0",
"baseline": "1.5.1",
"port-version": 0
},
"yyjson": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "31593c5c597458c4cd437424dfdc72684569c5a5",
"version": "1.5.1",
"port-version": 0
},
{
"git-tree": "cd0e4a794685da4c848998d46cf242a716dee35c",
"version": "1.5.0",