mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-31 11:59:38 -06:00
Merge topic 'update-kwiml'
659605fbMerge branch 'upstream-kwiml' into update-kwiml4871885bKWIML: Avoid if() quoted auto-dereference
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user