[vcpkg baseline][fastrtps] Use more precise version comparison (#32257)

This commit is contained in:
Cheney Wang 2023-06-28 03:46:22 +08:00 коммит произвёл GitHub
Родитель f5ab3f86a8
Коммит 0d1150cbd2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -11,7 +11,7 @@ index 7ca47ae..632c38b 100644
+# MSVC, it will be deleted after release. +# MSVC, it will be deleted after release.
+############################################################################### +###############################################################################
+if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") +if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
+ if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "19.36.32528.95") + if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "19.37.32705.0")
+ file(READ "${PROJECT_SOURCE_DIR}/include/fastrtps/utils/TimedMutex.hpp" _contents) + file(READ "${PROJECT_SOURCE_DIR}/include/fastrtps/utils/TimedMutex.hpp" _contents)
+ string(REPLACE "xtime*" "_timespec64*" _contents "${_contents}") + string(REPLACE "xtime*" "_timespec64*" _contents "${_contents}")
+ file(WRITE "${PROJECT_SOURCE_DIR}/include/fastrtps/utils/TimedMutex.hpp" "${_contents}") + file(WRITE "${PROJECT_SOURCE_DIR}/include/fastrtps/utils/TimedMutex.hpp" "${_contents}")

Просмотреть файл

@ -1,7 +1,7 @@
{ {
"name": "fastrtps", "name": "fastrtps",
"version": "2.7.0", "version": "2.7.0",
"port-version": 1, "port-version": 2,
"description": "Eprosima Fast RTPS is a C++ implementation of the RTPS (Real Time Publish Subscribe) protocol, which provides publisher-subscriber communications over unreliable transports such as UDP, as defined and maintained by the Object Management Group (OMG) consortium.", "description": "Eprosima Fast RTPS is a C++ implementation of the RTPS (Real Time Publish Subscribe) protocol, which provides publisher-subscriber communications over unreliable transports such as UDP, as defined and maintained by the Object Management Group (OMG) consortium.",
"homepage": "https://www.eprosima.com/", "homepage": "https://www.eprosima.com/",
"license": "Apache-2.0", "license": "Apache-2.0",

Просмотреть файл

@ -2454,7 +2454,7 @@
}, },
"fastrtps": { "fastrtps": {
"baseline": "2.7.0", "baseline": "2.7.0",
"port-version": 1 "port-version": 2
}, },
"fawdlstty-libfv": { "fawdlstty-libfv": {
"baseline": "0.0.8", "baseline": "0.0.8",

Просмотреть файл

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "443f550810af037dae538dc5555d7e069f2896ec",
"version": "2.7.0",
"port-version": 2
},
{ {
"git-tree": "b2d64bc038a30ea7ad49dc5cb923c0e13618281c", "git-tree": "b2d64bc038a30ea7ad49dc5cb923c0e13618281c",
"version": "2.7.0", "version": "2.7.0",