We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b003b0c commit c97c8c2Copy full SHA for c97c8c2
cmake/check_compiler_flag.cmake
@@ -13,7 +13,8 @@ SET(fail_patterns
13
FAIL_REGEX "warning:.*redefined"
14
FAIL_REGEX "[Ww]arning: [Oo]ption"
15
)
16
-
+#The regex patterns above are not localized, thus LANG=C
17
+SET(ENV{LANG} C)
18
MACRO (MY_CHECK_C_COMPILER_FLAG flag)
19
STRING(REGEX REPLACE "[-,= +]" "_" result "HAVE_C_${flag}")
20
SET(SAVE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
0 commit comments