Skip to content
Snippets Groups Projects
Commit 0e3526bc authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fixed typo in CMake option name

parent db7340da
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ option(GAUDI_SLOW_DEBUG
"turn off all optimizations in debug builds"
${GAUDI_SLOW_DEBUG_DEFAULT})
option(GAUDI_DIAGNOTICS_COLOR "enable colors in compiler diagnostics" OFF)
option(GAUDI_DIAGNOSTICS_COLOR "enable colors in compiler diagnostics" OFF)
# set optimization flags (_opt_level_* and _opt_ext_*)
# - default optimization levels
......@@ -399,7 +399,7 @@ else()
endif()
endif()
if(GAUDI_DIAGNOTICS_COLOR)
if(GAUDI_DIAGNOSTICS_COLOR)
foreach(_language CXX C Fortran)
set(CMAKE_${_language}_FLAGS "${CMAKE_${_language}_FLAGS} -fdiagnostics-color")
endforeach()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment