Bugfix for OSX 3

This commit is contained in:
Ryzerth
2021-04-18 19:20:51 +02:00
parent bc605f1351
commit 234e1618c8
20 changed files with 40 additions and 40 deletions

View File

@ -3,8 +3,8 @@ project(meteor_demodulator)
if (MSVC)
set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc")
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup")
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup")
else ()
set(CMAKE_CXX_FLAGS "-O3 -std=c++17")
endif ()