Permalink
Browse files

Escape ++ in cmake matches

  • Loading branch information...
jwiegley committed Nov 13, 2016
1 parent 121687a commit 71b89f1fc60bf708759291a7c26949d4adcf5cea
Showing with 2 additions and 2 deletions.
  1. +1 −1 CMakeLists.txt
  2. +1 −1 src/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()
@@ -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

0 comments on commit 71b89f1

Please sign in to comment.