]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Capitalize Werror 15669/head
authorDaniel Arndt <arndtd@ornl.gov>
Sat, 1 Jul 2023 15:06:23 +0000 (11:06 -0400)
committerMatthias Maier <tamiko@43-1.org>
Thu, 6 Jul 2023 14:40:46 +0000 (09:40 -0500)
Co-authored-by: Matthias Maier <tamiko@43-1.org>
cmake/macros/macro_enable_if_supported.cmake

index b628b7a638b1f17278f873debb4d4cf97ea288cf..ba9f80b45aa317f15e89e2403127b21341ec0c6e 100644 (file)
 
 macro(enable_if_supported _variable _flag)
   # First check if we can use -Werror
-  CHECK_CXX_COMPILER_FLAG("-Werror" DEAL_II_HAVE_FLAG_werror)
+  CHECK_CXX_COMPILER_FLAG("-Werror" DEAL_II_HAVE_FLAG_Werror)
 
   string(STRIP "${_flag}" _flag_stripped)
 
-  if(DEAL_II_HAVE_FLAG_werror)
+  if(DEAL_II_HAVE_FLAG_Werror)
     set(CMAKE_REQUIRED_FLAGS "-Werror")
   endif()
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.