Author: spetreolle
Date: Sat Feb 21 14:24:19 2015
New Revision: 66386
URL:
http://svn.reactos.org/svn/reactos?rev=66386&view=rev
Log:
Disable PCH use in ccache builds.
Modified:
trunk/reactos/CMakeLists.txt
Modified: trunk/reactos/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/CMakeLists.txt?rev=66386&a…
==============================================================================
--- trunk/reactos/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/CMakeLists.txt [iso-8859-1] Sat Feb 21 14:24:19 2015
@@ -142,7 +142,7 @@
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")