summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-27 18:47:34 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-27 18:47:34 (GMT)
commit220b799c8a7ff6039254c90bbeba1890d816b523 (patch)
tree1df7f3f74b4387f344e3e670eb3e85e0b8dac9b3
parentdab2ff3e237f1c3c2430e0661281719185ef4eb1 (diff)
parent4ca77bb6db34edc7cae2313c82c769f564fb02ea (diff)
downloadCMake-220b799c8a7ff6039254c90bbeba1890d816b523.zip
CMake-220b799c8a7ff6039254c90bbeba1890d816b523.tar.gz
CMake-220b799c8a7ff6039254c90bbeba1890d816b523.tar.bz2
Merge branch 'kwiml-test-gcc-format-security' into release
-rw-r--r--Utilities/KWIML/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/KWIML/test/CMakeLists.txt b/Utilities/KWIML/test/CMakeLists.txt
index 4f6f37b..1bf93bb 100644
--- a/Utilities/KWIML/test/CMakeLists.txt
+++ b/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()