Another Mac/Clang fix.

This commit is contained in:
David Williams 2013-12-31 14:53:53 +01:00
parent 1cb486cb33
commit d96dcaa531

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