Also using Clang's PCH with my "cxx" compiler
This commit is contained in:
parent
8917c929f2
commit
ff589a1656
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue