aboutsummaryrefslogtreecommitdiff
path: root/ports/ignition-cmake0/support-arm64.patch
diff options
context:
space:
mode:
authorSilvio Traversaro <silvio.traversaro@iit.it>2019-09-04 00:29:29 +0200
committerVictor Romero <romerosanchezv@gmail.com>2019-09-03 15:29:29 -0700
commit75a2b65447b9af04988478b4ddccad75f4e858ec (patch)
tree6c2b78028616e73f07f10821f6b329a6fce31ae2 /ports/ignition-cmake0/support-arm64.patch
parentb8f0e2c8c69dc1990e175b1eecfb3a40db71a46a (diff)
downloadvcpkg-75a2b65447b9af04988478b4ddccad75f4e858ec.tar.gz
vcpkg-75a2b65447b9af04988478b4ddccad75f4e858ec.zip
Add support for writing ports of Ignition Robotics libraries and ports for ignition-cmake0 and ignition-math4 (#7781)
* Add ignition-modularscript port Modeled after the qt5-modularscript port, this port just contain ignition_modular_library, an helper CMake function to simplify the process of writing port of C++ libraries developed by the Ignition Robotics project ( https://ignitionrobotics.org ). * Add ignition-cmake0 port * Add ignition-math4 port
Diffstat (limited to 'ports/ignition-cmake0/support-arm64.patch')
-rw-r--r--ports/ignition-cmake0/support-arm64.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/ports/ignition-cmake0/support-arm64.patch b/ports/ignition-cmake0/support-arm64.patch
new file mode 100644
index 000000000..aba99ba35
--- /dev/null
+++ b/ports/ignition-cmake0/support-arm64.patch
@@ -0,0 +1,17 @@
+diff -r 8a976a308d77 -r 1bea7874cfec cmake/IgnSetCompilerFlags.cmake
+--- a/cmake/IgnSetCompilerFlags.cmake
++++ b/cmake/IgnSetCompilerFlags.cmake
+@@ -279,13 +279,6 @@
+ # Don't pull in the Windows min/max macros
+ add_definitions(-DNOMINMAX)
+
+- if (MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
+- # Not needed if a proper cmake generator (-G "...Win64") is passed
+- # to cmake. Enable as a second measure to work around bug
+- # http://www.cmake.org/Bug/print_bug_page.php?bug_id=11240
+- set(CMAKE_SHARED_LINKER_FLAGS "/machine:x64")
+- endif()
+-
+ if(USE_IGN_RECOMMENDED_FLAGS)
+
+ # Gy: Prevent errors caused by multiply-defined symbols