* Set the default PCH value only if it's not already set.

svn path=/trunk/; revision=62241
This commit is contained in:
Amine Khaldi 2014-02-18 11:12:26 +00:00
parent 9a2dc33fb5
commit 8bc446901a

View file

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