Browse Source

Merge branch 'kwiml-test-gcc-format-security' into release

Brad King 8 years ago
parent
commit
220b799c8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Utilities/KWIML/test/CMakeLists.txt

+ 1 - 1
Utilities/KWIML/test/CMakeLists.txt

@@ -10,7 +10,7 @@ endif()
 # Suppress printf/scanf format warnings; we test if the sizes match.
 foreach(lang C CXX)
   if(KWIML_LANGUAGE_${lang} AND CMAKE_${lang}_COMPILER_ID STREQUAL "GNU")
-    set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format")
+    set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format -Wno-format-security")
   endif()
 endforeach()