summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-27 03:02:37 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-05-27 03:02:42 -0500
commitff589a1656d0f7f4d66833bce9d1eb952f93a740 (patch)
tree6b77ee1b36305cc3783ab7a21b454eeb255627c2 /src/CMakeLists.txt
parent8917c929f2a7b3dea0b91de605529a5465e5f754 (diff)
downloadfork-ledger-ff589a1656d0f7f4d66833bce9d1eb952f93a740.tar.gz
fork-ledger-ff589a1656d0f7f4d66833bce9d1eb952f93a740.tar.bz2
fork-ledger-ff589a1656d0f7f4d66833bce9d1eb952f93a740.zip
Also using Clang's PCH with my "cxx" compiler
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 cc325aa2..6006f7fd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -133,7 +133,7 @@ set(LEDGER_INCLUDES
${PROJECT_BINARY_DIR}/system.hh)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
- if(CMAKE_CXX_COMPILER MATCHES "clang")
+ if((CMAKE_CXX_COMPILER MATCHES "clang") OR (CMAKE_CXX_COMPILER MATCHES "cxx"))
add_definitions(
-Weverything
-Wno-padded