diff --git a/cmake/compilers.cmake b/cmake/compilers.cmake index 2033171..643da4e 100644 --- a/cmake/compilers.cmake +++ b/cmake/compilers.cmake @@ -5,5 +5,9 @@ endif() if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU") add_compile_options($<$:-Wall>) elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel") - add_compile_options($<$:-warn>) + add_compile_options( + "$<$:-warn>" + "$<$:-check;-traceback>" + "$<$:-Rno-debug-disables-optimization>" + ) endif()