summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKWIML Upstream <kwrobot@kitware.com>2017-02-27 18:43:26 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-27 18:49:07 (GMT)
commitae6607af470e1f3faa287310dc80f1fcd6d18ab8 (patch)
treecef882da6bc7c84cfea1f45e9f66d755a63575ab
parente83b96b793dbe9d525fc878f7e8df8304079e35d (diff)
downloadCMake-ae6607af470e1f3faa287310dc80f1fcd6d18ab8.zip
CMake-ae6607af470e1f3faa287310dc80f1fcd6d18ab8.tar.gz
CMake-ae6607af470e1f3faa287310dc80f1fcd6d18ab8.tar.bz2
KWIML 2017-02-27 (aa3a7733)
Code extracted from: https://gitlab.kitware.com/utils/kwiml.git at commit aa3a7733039afb11047fb7d4d71fb26e1775c106 (master). Upstream Shortlog ----------------- Orion Poplawski (1): aa3a7733 test: Add -Wno-format-security to tolerate -Werror=format-security
-rw-r--r--test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 4f6f37b..1bf93bb 100644
--- a/test/CMakeLists.txt
+++ b/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()