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 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cf9a3eb4..4523a12b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -139,7 +139,7 @@ set(LEDGER_INCLUDES if (CMAKE_BUILD_TYPE STREQUAL "Debug") if ((CMAKE_CXX_COMPILER MATCHES "clang") OR - (CMAKE_CXX_COMPILER MATCHES "clang++") OR + (CMAKE_CXX_COMPILER MATCHES "clang\\+\\+") OR (CMAKE_CXX_COMPILER MATCHES "cxx")) add_definitions( # -Weverything -- cgit v1.2.3