From 71b89f1fc60bf708759291a7c26949d4adcf5cea Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 13 Nov 2016 15:18:46 -0800 Subject: Escape ++ in cmake matches --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e11aa44d..f8dbd892 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,7 +299,7 @@ configure_file( ${PROJECT_BINARY_DIR}/system.hh) if((CMAKE_CXX_COMPILER MATCHES "clang") OR - (CMAKE_CXX_COMPILER MATCHES "clang++")) + (CMAKE_CXX_COMPILER MATCHES "clang\\+\\+")) set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ") endif() -- cgit v1.2.3