fix a typo : the compiler is "GNUCC" with 2 C's

This commit is contained in:
manuelk 2013-01-16 17:29:51 -08:00
parent 9f0f927ab2
commit 9e9779f5a6

View File

@ -99,7 +99,7 @@ set(CMAKE_MODULE_PATH
)
# Disable spurrious offsetof warning in gcc builds and clang
if (CMAKE_COMPILER_IS_GNUC OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
if (CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
add_definitions("-Wno-invalid-offsetof")
endif()