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

This commit is contained in:
Cheney Wang 2023-06-28 03:46:22 +08:00 committed by GitHub
parent f5ab3f86a8
commit 0d1150cbd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View File

@ -11,7 +11,7 @@ index 7ca47ae..632c38b 100644
+# MSVC, it will be deleted after release.
+###############################################################################
+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)
+ string(REPLACE "xtime*" "_timespec64*" _contents "${_contents}")
+ file(WRITE "${PROJECT_SOURCE_DIR}/include/fastrtps/utils/TimedMutex.hpp" "${_contents}")

View File

@ -1,7 +1,7 @@
{
"name": "fastrtps",
"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.",
"homepage": "https://www.eprosima.com/",
"license": "Apache-2.0",

View File

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

View File

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