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
This commit is contained in:
KWIML Upstream
2017-02-27 13:43:26 -05:00
committed by Brad King
parent e83b96b793
commit ae6607af47

View File

@@ -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()