зеркало из https://github.com/microsoft/vcpkg.git
[rapidjson] Modify the version of cmake_minimum_required() (#36230)
This commit is contained in:
Родитель
5c2221771a
Коммит
0a14acf3a1
|
@ -34,10 +34,11 @@ 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 "\${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}")
|
||||
string(REPLACE "\${RapidJSON_CMAKE_DIR}/../../../include" "\${RapidJSON_CMAKE_DIR}/../../include" _contents "${_contents}")
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/RapidJSONConfig.cmake" "${_contents}\nset(RAPIDJSON_INCLUDE_DIRS \"\${RapidJSON_INCLUDE_DIRS}\")\n")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "rapidjson",
|
||||
"version-date": "2023-07-17",
|
||||
"port-version": 1,
|
||||
"description": "A fast JSON parser/generator for C++ with both SAX/DOM style API <http://rapidjson.org/>",
|
||||
"homepage": "http://rapidjson.org/",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -7410,7 +7410,7 @@
|
|||
},
|
||||
"rapidjson": {
|
||||
"baseline": "2023-07-17",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"rapidxml": {
|
||||
"baseline": "1.13",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a3dfe7dca3a1a27564b1fc5a9aea657cd9dae01c",
|
||||
"version-date": "2023-07-17",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "9da8fa409b1afef5674fe412237db0504cf6156e",
|
||||
"version-date": "2023-07-17",
|
||||
|
|
Загрузка…
Ссылка в новой задаче