1
0
Fork 0

Suppress a warning when using Clang.

This commit is contained in:
James Turner 2012-03-25 18:46:50 +01:00
parent 086df400de
commit 54d026e64f

View file

@ -275,6 +275,10 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(WARNING_FLAGS -Wall) set(WARNING_FLAGS -Wall)
endif(CMAKE_COMPILER_IS_GNUCXX) endif(CMAKE_COMPILER_IS_GNUCXX)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set (WARNING_FLAGS "-Wall -Wno-overloaded-virtual")
endif()
if(WIN32) if(WIN32)
if(MSVC) if(MSVC)