Fixed cmake warning.

This commit is contained in:
Armin Novak 2015-06-17 13:23:21 +02:00
parent bf7f933bec
commit e8b50eb2d0
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
endif()
endif()
if("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
if(${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-macros -Wno-padded")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-c11-extensions -Wno-gnu")