浏览代码

Merge topic 'update-kwiml'

659605fb Merge branch 'upstream-kwiml' into update-kwiml
4871885b KWIML: Avoid if() quoted auto-dereference
Brad King 11 年之前
父节点
当前提交
4db483f89b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Utilities/KWIML/test/CMakeLists.txt

+ 1 - 1
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()