mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-12 01:09:47 -06:00
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:
committed by
Brad King
parent
e83b96b793
commit
ae6607af47
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user