Skip to content
Snippets Groups Projects
Commit 40781c2b authored by Charles Leggett's avatar Charles Leggett
Browse files

Fixed typo in CMake option name

See merge request !609
parents d2ff12c1 9d50a16f
No related branches found
No related tags found
1 merge request!609Fixed typo in CMake option name
Pipeline #
......@@ -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