Open kmamykin opened 3 years ago
This line: https://github.com/ros2/rviz/blob/94f6dd6958b2927a307893ff174f182dcc7afd0e/rviz_ogre_vendor/CMakeLists.txt#L123
I was able to make it build on Apple M1 by changing it to
list(APPEND extra_cmake_args "-DCMAKE_OSX_ARCHITECTURES='arm64'")
I propose changing the setting to -DCMAKE_OSX_ARCHITECTURES=arm64;x86_64 for APPLE to build a universal library.
-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64
Related https://github.com/ros2/rviz/issues/663
This line: https://github.com/ros2/rviz/blob/94f6dd6958b2927a307893ff174f182dcc7afd0e/rviz_ogre_vendor/CMakeLists.txt#L123
I was able to make it build on Apple M1 by changing it to
I propose changing the setting to
-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64
for APPLE to build a universal library.