summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
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