From cf5f878aee8690edb0e4d724ae2d19c8fdade94e Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Thu, 10 Nov 2016 15:01:51 +0100 Subject: [PATCH] Fix issue #2 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2f1c96..e1b0972 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ set(COMPILER_VERSION "0.0") getCompilerVersion() -if(CMAKE_CXX_COMPILER MATCHES "clang") +if(CMAKE_CXX_COMPILER MATCHES "clang" OR CMAKE_CXX_COMPILER STREQUAL "Clang") set(CMAKE_COMPILER_IS_CLANG "TRUE") if("${COMPILER_VERSION}" VERSION_LESS ${CLANG_THRESHOLD_VERSION}) set(CMAKE_COMPILER_IS_OLD_CLANG "TRUE")