Enable C++11 support for Clang

This commit is contained in:
Matt Williams 2012-02-25 22:42:05 +00:00
parent d2a94ac6f4
commit baa1743d8f

View File

@ -23,6 +23,9 @@ endif()
IF(CMAKE_COMPILER_IS_GNUCXX) #Maybe "OR MINGW"
ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
ENDIF()
if(CMAKE_CXX_COMPILER MATCHES "clang")
ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
endif()
ADD_SUBDIRECTORY(library)