* Disable PCH in Clang builds. We'll inspect this later.

svn path=/trunk/; revision=62391
This commit is contained in:
Amine Khaldi 2014-03-02 20:47:34 +00:00
parent 96b7e0dd7b
commit 4916e626c0

View file

@ -134,7 +134,7 @@ else()
add_definitions(-D_WINKD_=1)
endif()
if((NOT DEFINED PCH) AND (CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS"))
if((NOT DEFINED PCH) AND (CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS") AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
set(PCH 1)
else()
set(PCH 0)