mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 22:00:06 +00:00
fix a typo : the compiler is "GNUCC" with 2 C's
This commit is contained in:
parent
9f0f927ab2
commit
9e9779f5a6
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user