Skip to content

Commit

Permalink
Merge pull request #161 from rosflight/154-easier-compilation-on-arm64
Browse files Browse the repository at this point in the history
154 easier compilation on arm64
  • Loading branch information
JMoore5353 authored Mar 11, 2024
2 parents 7d6a931 + 51fb817 commit 35b427b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rosflight_sim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif(NOT CMAKE_BUILD_TYPE)

# Since Gazebo doesn't have an arm64 target, skip this package if
# architecture is arm64
message(${CMAKE_SYSTEM_PROCESSOR})
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
return()
endif()

find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(gazebo_dev)
Expand Down

0 comments on commit 35b427b

Please sign in to comment.