Now using the correct flag to warn on C++11 use

This commit is contained in:
Strahinja Val Markovic 2012-07-28 11:18:18 -07:00
parent 019b84e18b
commit 2667a82441

View File

@ -87,7 +87,7 @@ endif()
# We want warnings if we accidentally use C++11 features # We want warnings if we accidentally use C++11 features
if ( COMPILER_IS_CLANG ) if ( COMPILER_IS_CLANG )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wc++11-extensions") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wc++98-compat")
endif() endif()
############################################################################# #############################################################################