Suppress a warning when using Clang.
This commit is contained in:
parent
086df400de
commit
54d026e64f
1 changed files with 4 additions and 0 deletions
|
@ -275,6 +275,10 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
set(WARNING_FLAGS -Wall)
|
||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
set (WARNING_FLAGS "-Wall -Wno-overloaded-virtual")
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
|
||||
if(MSVC)
|
||||
|
|
Loading…
Reference in a new issue