mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03:00
Merge branch 'upstream-kwiml' into update-kwiml
This commit is contained in:
commit
659605fbee
1 file changed
+1
-1
@@ -20,7 +20,7 @@ set_property(DIRECTORY
|
||||
|
||||
# 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)
|
||||
if(KWIML_LANGUAGE_${lang} AND CMAKE_${lang}_COMPILER_ID STREQUAL "GNU")
|
||||
set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
Reference in new issue
Block a user