Skip to content

Commit

Permalink
[rapidjson] Set Cmake minimum required version to a range (#43480)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduske authored Jan 27, 2025
1 parent 2b8927f commit f3a67b0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/rapidjson/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
endif()

file(READ "${CURRENT_PACKAGES_DIR}/share/${PORT}/RapidJSONConfig.cmake" _contents)
string(REPLACE "VERSION 3.0" "VERSION 3.5" _contents "${_contents}")
string(REPLACE "VERSION 3.0" "VERSION 3.5...3.30" _contents "${_contents}")
string(REPLACE "\${RapidJSON_SOURCE_DIR}" "\${RapidJSON_CMAKE_DIR}/../.." _contents "${_contents}")
string(REPLACE "set( RapidJSON_SOURCE_DIR \"${SOURCE_PATH}\")" "" _contents "${_contents}")
string(REPLACE "set( RapidJSON_DIR \"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel\")" "" _contents "${_contents}")
Expand Down
2 changes: 1 addition & 1 deletion ports/rapidjson/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rapidjson",
"version-date": "2023-07-17",
"port-version": 1,
"port-version": 2,
"description": "A fast JSON parser/generator for C++ with both SAX/DOM style API <http://rapidjson.org/>",
"homepage": "http://rapidjson.org/",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7838,7 +7838,7 @@
},
"rapidjson": {
"baseline": "2023-07-17",
"port-version": 1
"port-version": 2
},
"rapidxml": {
"baseline": "1.13",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/rapidjson.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "38b67535aa1b51fd521021ec77ccb36f01431bd2",
"version-date": "2023-07-17",
"port-version": 2
},
{
"git-tree": "a3dfe7dca3a1a27564b1fc5a9aea657cd9dae01c",
"version-date": "2023-07-17",
Expand Down

0 comments on commit f3a67b0

Please sign in to comment.