Escape ++ in cmake matches
This commit is contained in:
parent
121687a026
commit
71b89f1fc6
2 changed files with 2 additions and 2 deletions
|
|
@ -299,7 +299,7 @@ configure_file(
|
||||||
${PROJECT_BINARY_DIR}/system.hh)
|
${PROJECT_BINARY_DIR}/system.hh)
|
||||||
|
|
||||||
if((CMAKE_CXX_COMPILER MATCHES "clang") OR
|
if((CMAKE_CXX_COMPILER MATCHES "clang") OR
|
||||||
(CMAKE_CXX_COMPILER MATCHES "clang++"))
|
(CMAKE_CXX_COMPILER MATCHES "clang\\+\\+"))
|
||||||
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ")
|
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ set(LEDGER_INCLUDES
|
||||||
|
|
||||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
if ((CMAKE_CXX_COMPILER MATCHES "clang") OR
|
if ((CMAKE_CXX_COMPILER MATCHES "clang") OR
|
||||||
(CMAKE_CXX_COMPILER MATCHES "clang++") OR
|
(CMAKE_CXX_COMPILER MATCHES "clang\\+\\+") OR
|
||||||
(CMAKE_CXX_COMPILER MATCHES "cxx"))
|
(CMAKE_CXX_COMPILER MATCHES "cxx"))
|
||||||
add_definitions(
|
add_definitions(
|
||||||
# -Weverything
|
# -Weverything
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue