Skip to content

Commit

Permalink
fix small issue
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Jul 7, 2022
1 parent ea8e69c commit 441ec33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmake/GtsamBuildTypes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ endif()
if (NOT MSVC)
option(GTSAM_BUILD_WITH_MARCH_NATIVE "Enable/Disable building with all instructions supported by native architecture (binary may not be portable!)" OFF)
if(GTSAM_BUILD_WITH_MARCH_NATIVE AND (APPLE AND NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64"))
if(GTSAM_BUILD_WITH_MARCH_NATIVE)
# Add as public flag so all dependant projects also use it, as required
# by Eigen to avid crashes due to SIMD vectorization:
list_append_cache(GTSAM_COMPILE_OPTIONS_PUBLIC "-march=native")
Expand Down

0 comments on commit 441ec33

Please sign in to comment.