diff --git a/CMakeLists.txt b/CMakeLists.txt index 9212d40..f2a36c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,8 +19,8 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) endif() if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU") - add_compile_options("$<$:-march=native;-pipe;-pedantic;-ftree-vectorize;-fno-unsafe-math-optimizations;-frounding-math;-fsignaling-nans;-finline-limit=10000;-fdiagnostics-color=always>") - add_compile_options("$<$:-Og;-pedantic;-W;-Wall>") + add_compile_options("$<$:-march=native;-pipe;-ftree-vectorize;-fno-unsafe-math-optimizations;-frounding-math;-fsignaling-nans;-finline-limit=10000;-fdiagnostics-color=always>") + add_compile_options("$<$:-Og;-pedantic;-W;-Wall;-Wno-unused-dummy-argument>") endif() if(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")