Commits

Jose Luis Rivero committed ff28a5c

Support to test -funroll and march=native

Comments (0)

Files changed (1)

   message(STATUS "\nSSE4 disabled.\n")
 endif()
 
+if (ENABLE_FUNROLL)
+    set (CMAKE_C_FLAGS_ALL "${CMAKE_C_FLAGS_ALL} -funroll-loops")
+endif()
+
+if (ENABLE_MARCH_NATIVE)
+    set (CMAKE_C_FLAGS_ALL "${CMAKE_C_FLAGS_ALL} -march=native")
+endif()
+
 # Check for DRI capable Display
 include (${gazebo_cmake_dir}/CheckDRIDisplay.cmake)