early-access version 2853
This commit is contained in:
8
externals/vcpkg/ports/ignition-transport9/portfile.cmake
vendored
Executable file
8
externals/vcpkg/ports/ignition-transport9/portfile.cmake
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
ignition_modular_library(NAME transport
|
||||
VERSION "9.0.0"
|
||||
SHA512 9add7a8d3a43a17b1b71e7d7d9320909057c1f79880bd969baa99949709cdbb63f00f0735990891358bb29efd9c0ab8b6725b7c340c324b9266dcc9b73d767d4
|
||||
# This can be removed when the pc file of sqlite3 is available ( https://github.com/microsoft/vcpkg/issues/14327 )
|
||||
DISABLE_PKGCONFIG_INSTALL
|
||||
PATCHES
|
||||
uuid-osx.patch
|
||||
)
|
||||
26
externals/vcpkg/ports/ignition-transport9/uuid-osx.patch
vendored
Executable file
26
externals/vcpkg/ports/ignition-transport9/uuid-osx.patch
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 084b6da..6fd212d 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -70,6 +70,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 9777240..9e860a9 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -31,7 +31,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
|
||||
23
externals/vcpkg/ports/ignition-transport9/vcpkg.json
vendored
Executable file
23
externals/vcpkg/ports/ignition-transport9/vcpkg.json
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "ignition-transport9",
|
||||
"version": "9.0.0",
|
||||
"port-version": 4,
|
||||
"description": "Transport middleware for robotics",
|
||||
"license": null,
|
||||
"dependencies": [
|
||||
"cppzmq",
|
||||
"ignition-cmake2",
|
||||
{
|
||||
"name": "ignition-modularscripts",
|
||||
"host": true
|
||||
},
|
||||
"ignition-msgs6",
|
||||
{
|
||||
"name": "libuuid",
|
||||
"platform": "!windows & !uwp & !osx"
|
||||
},
|
||||
"protobuf",
|
||||
"sqlite3",
|
||||
"zeromq"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user