Disable PCH use in ccache builds.

svn path=/trunk/; revision=66386
This commit is contained in:
Sylvain Petreolle 2015-02-21 14:24:19 +00:00
parent 1a1b7a15c4
commit 661bad6b05

View file

@ -142,7 +142,7 @@ else()
add_definitions(-D_WINKD_=1)
endif()
if(CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS")
if(CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS" AND NOT ENABLE_CCACHE)
set(PCH 1 CACHE BOOL "Whether to use precompiled headers")
else()
set(PCH 0 CACHE BOOL "Whether to use precompiled headers")