Also using Clang's PCH with my "cxx" compiler

This commit is contained in:
John Wiegley 2012-05-27 03:02:37 -05:00
parent 8917c929f2
commit ff589a1656

View file

@ -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