summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-11-13 15:18:46 -0800
committerJohn Wiegley <johnw@newartisans.com>2016-11-13 15:18:46 -0800
commit71b89f1fc60bf708759291a7c26949d4adcf5cea (patch)
tree6e0c81d5337fd46d96c3d2530fb33f3d1cc56922 /src/CMakeLists.txt
parent121687a0265d4e874300de0d00d03834a9e20bcd (diff)
downloadfork-ledger-71b89f1fc60bf708759291a7c26949d4adcf5cea.tar.gz
fork-ledger-71b89f1fc60bf708759291a7c26949d4adcf5cea.tar.bz2
fork-ledger-71b89f1fc60bf708759291a7c26949d4adcf5cea.zip
Escape ++ in cmake matches
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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