Merge topic 'update-kwiml'
659605fb
Merge branch 'upstream-kwiml' into update-kwiml4871885b
KWIML: Avoid if() quoted auto-dereference
This commit is contained in:
commit
4db483f89b
|
@ -20,7 +20,7 @@ set_property(DIRECTORY
|
||||||
|
|
||||||
# Suppress printf/scanf format warnings; we test if the sizes match.
|
# Suppress printf/scanf format warnings; we test if the sizes match.
|
||||||
foreach(lang C CXX)
|
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")
|
set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
Loading…
Reference in New Issue