Fixed Clang detection.

This commit is contained in:
David Williams 2013-12-31 11:19:00 +01:00
parent 3db5e1b2f6
commit 1cb486cb33

View File

@ -65,7 +65,7 @@ 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")
if(CMAKE_CXX_COMPILER MATCHES "Clang")
ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
endif()