From: Daniel Arndt Date: Sat, 1 Jul 2023 15:06:23 +0000 (-0400) Subject: Capitalize Werror X-Git-Tag: relicensing~823^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ff171c3bf10502c8a820b925d80c01aaa8565de;p=dealii.git Capitalize Werror Co-authored-by: Matthias Maier --- diff --git a/cmake/macros/macro_enable_if_supported.cmake b/cmake/macros/macro_enable_if_supported.cmake index b628b7a638..ba9f80b45a 100644 --- a/cmake/macros/macro_enable_if_supported.cmake +++ b/cmake/macros/macro_enable_if_supported.cmake @@ -23,11 +23,11 @@ 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()