early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,8 @@
ignition_modular_library(NAME transport
VERSION "4.0.0"
SHA512 581dd4700aebc455f6d7c01d8be17c6c4c802fd74b1504b2bd6544a0246b161231305fd318352904e230c986dfe072fa0608fccea9066b076e7216dc507a8510
# This can be removed when the pc file of libuuid on Windows is fixed
DISABLE_PKGCONFIG_INSTALL
PATCHES
uuid-osx.patch
)

View File

@@ -0,0 +1,26 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5453cd0..10c2ad4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,6 +58,8 @@ ign_find_package(CPPZMQ REQUIRED PRIVATE
# Find uuid
if (MSVC)
message (STATUS "UUID: Using Windows RPC UuidCreate function\n")
+elseif (APPLE)
+ message (STATUS "Use system uuid header")
else()
ign_find_package(UUID REQUIRED)
endif()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6683e64..33669ab 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -18,7 +18,7 @@ target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME}
)
# Windows system library provides UUID
-if (NOT MSVC)
+if (NOT MSVC AND NOT APPLE)
target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME}
PUBLIC
UUID::UUID

View File

@@ -0,0 +1,22 @@
{
"name": "ignition-transport4",
"version": "4.0.0",
"port-version": 6,
"description": "Transport middleware for robotics",
"license": null,
"dependencies": [
"cppzmq",
"ignition-cmake0",
{
"name": "ignition-modularscripts",
"host": true
},
"ignition-msgs1",
{
"name": "libuuid",
"platform": "!windows & !uwp & !osx"
},
"protobuf",
"zeromq"
]
}