diff options
| author | Antoine Hoarau <703240+ahoarau@users.noreply.github.com> | 2020-11-06 07:52:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-05 22:52:44 -0800 |
| commit | 7fbbc599ec816c456a02180ac75d42f1fb9e1d73 (patch) | |
| tree | fb3d9123f1f9792bc0a4dd8154f4f447333ffd66 /ports/ignition-msgs6 | |
| parent | 193e348cf34c442c5499fbff5f5b6cc78faea6e3 (diff) | |
| download | vcpkg-7fbbc599ec816c456a02180ac75d42f1fb9e1d73.tar.gz vcpkg-7fbbc599ec816c456a02180ac75d42f1fb9e1d73.zip | |
[ignition] Updates on various pkgs 🤖 (#14324)
Diffstat (limited to 'ports/ignition-msgs6')
| -rw-r--r-- | ports/ignition-msgs6/CONTROL | 5 | ||||
| -rw-r--r-- | ports/ignition-msgs6/portfile.cmake | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/ports/ignition-msgs6/CONTROL b/ports/ignition-msgs6/CONTROL new file mode 100644 index 000000000..70aa5726c --- /dev/null +++ b/ports/ignition-msgs6/CONTROL @@ -0,0 +1,5 @@ +Source: ignition-msgs6 +Version: 6.0.0 +Build-Depends: ignition-modularscripts, ignition-cmake2, ignition-math6, protobuf, tinyxml2 +Description: Middleware protobuf messages for robotics +Supports: !(arm|uwp) diff --git a/ports/ignition-msgs6/portfile.cmake b/ports/ignition-msgs6/portfile.cmake new file mode 100644 index 000000000..0a3ef841e --- /dev/null +++ b/ports/ignition-msgs6/portfile.cmake @@ -0,0 +1,18 @@ +# Explicitly disable cross-compilation until the upstream discussion +# https://github.com/ignitionrobotics/ign-msgs/issues/34 is solved +vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp") + +include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake) + +# This port needs to generate protobuf messages with a custom plugin generator, +# so it needs to have in Windows the relative protobuf dll available in the PATH +set(path_backup $ENV{PATH}) +vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/bin) +vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/debug/bin) + +ignition_modular_library(NAME msgs + VERSION "6.0.0" + SHA512 d1d6f6602ae33ec95b36c5df7815b06970f349492ef0309d8aacbaf2dca0c3e7314bbd64890a2554485fbd52f148a90b7bf54dceb0b3a1dd40eeb1f5bdb9613c) + +# Restore old path +set(ENV{PATH} "${path_backup}") |
