Skip to content

Commit 3fe0864

Browse files
committed
Remove offending compilation flags.
1 parent 2dba0b5 commit 3fe0864

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ set (OM_STD_LIBS)
4141
# Note that is doe snot use auto_ptr in the generated code, only in the library headers
4242

4343
if (NOT MSVC)
44-
# Enable builds on Raspberry pi (although without optimizations)
45-
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
46-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
47-
else (${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
48-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -msse2 -mfpmath=sse")
49-
endif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
5044
# We almost always want optimisations enabled:
5145
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O2")
5246
endif (NOT MSVC)

0 commit comments

Comments
 (0)