Skip to content

Commit

Permalink
feat: support macos (#1156)
Browse files Browse the repository at this point in the history
Signed-off-by: wep21 <[email protected]>
  • Loading branch information
wep21 authored Feb 28, 2024
1 parent e9b4435 commit 8e5f283
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rviz_ogre_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ if(NOT WIN32)
list(APPEND OGRE_CMAKE_ARGS -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON)
endif()

if(APPLE)
list(APPEND ORGE_CMAKE_ARGS -DOGRE_ENABLE_PRECOMPILED_HEADERS:BOOL=OFF)
list(APPEND OGRE_CMAKE_ARGS -DCMAKE_OSX_ARCHITECTURES=arm64;x86_64)
endif()

ament_vendor(ogre_vendor
VCS_URL https://github.com/OGRECave/ogre.git
VCS_VERSION v1.12.10
Expand Down

0 comments on commit 8e5f283

Please sign in to comment.