From d96dcaa53191119b3a3ecb370f07673ac1dca15b Mon Sep 17 00:00:00 2001 From: David Williams Date: Tue, 31 Dec 2013 14:53:53 +0100 Subject: [PATCH] Another Mac/Clang fix. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b19ff33e..9e261a0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()