summaryrefslogtreecommitdiff
path: root/Utilities/KWIML
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-14 11:19:09 -0400
committerBrad King <brad.king@kitware.com>2014-10-14 11:19:09 -0400
commit659605fbee9e9efc22cdd5050bacd1c094970604 (patch)
treee962dc26001731b049420481b1e51cc369ea2fd2 /Utilities/KWIML
parenta7596fef6e8d6938ce0d7fcba47e896f288b12b4 (diff)
parent4871885b9ce79c5d257ba0c2b879405631cd0bb8 (diff)
downloadcmake-659605fbee9e9efc22cdd5050bacd1c094970604.tar.gz
Merge branch 'upstream-kwiml' into update-kwiml
Diffstat (limited to 'Utilities/KWIML')
-rw-r--r--Utilities/KWIML/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/KWIML/test/CMakeLists.txt b/Utilities/KWIML/test/CMakeLists.txt
index a2359cce11..a16b5cddad 100644
--- a/Utilities/KWIML/test/CMakeLists.txt
+++ b/Utilities/KWIML/test/CMakeLists.txt
@@ -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()