Merge topic 'update-kwiml'

659605fb Merge branch 'upstream-kwiml' into update-kwiml
4871885b KWIML: Avoid if() quoted auto-dereference
This commit is contained in:
Brad King 2014-10-21 15:07:56 -04:00 committed by CMake Topic Stage
commit 4db483f89b
1 changed files with 1 additions and 1 deletions

View File

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