From ff589a1656d0f7f4d66833bce9d1eb952f93a740 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 27 May 2012 03:02:37 -0500 Subject: Also using Clang's PCH with my "cxx" compiler --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') 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 -- cgit v1.2.3