diff options
Diffstat (limited to 'CheckCXX11Features.cmake')
-rw-r--r-- | CheckCXX11Features.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CheckCXX11Features.cmake b/CheckCXX11Features.cmake index 80e684d..3102f4d 100644 --- a/CheckCXX11Features.cmake +++ b/CheckCXX11Features.cmake @@ -21,7 +21,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3) SET(CHECK_CXX11_OLD_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_FLAGS "-std=c++0x")
-ELSE("${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}" MATCHES ".*clang")
+ELSE("${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}" MATCHES ".*clang.*")
SET(CMAKE_CXX_FLAGS "-std=c++11")
ENDIF()
|