summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-21 19:07:56 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-10-21 19:07:56 (GMT)
commit4db483f89b54b261caa08b81c64d82ef7b86a6fe (patch)
tree1e58985ba170c2d217013801b1ad570489cc4dd5
parent6dc0bbbd56fc28a6d24c8d8603ccc890310406fe (diff)
parent659605fbee9e9efc22cdd5050bacd1c094970604 (diff)
downloadCMake-4db483f89b54b261caa08b81c64d82ef7b86a6fe.zip
CMake-4db483f89b54b261caa08b81c64d82ef7b86a6fe.tar.gz
CMake-4db483f89b54b261caa08b81c64d82ef7b86a6fe.tar.bz2
Merge topic 'update-kwiml'
659605fb Merge branch 'upstream-kwiml' into update-kwiml 4871885b KWIML: Avoid if() quoted auto-dereference
-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 a2359cc..a16b5cd 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()