From: Amine Khaldi Date: Tue, 18 Feb 2014 11:12:26 +0000 (+0000) Subject: [CMAKE] X-Git-Tag: ReactOS-0.3.16-CLT2014~94 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=8bc446901ac3ce60cb7aa3c10b093b6b3cb491cf [CMAKE] * Set the default PCH value only if it's not already set. svn path=/trunk/; revision=62241 --- diff --git a/reactos/CMakeLists.txt b/reactos/CMakeLists.txt index 5d09f92f1fa..68143311105 100644 --- a/reactos/CMakeLists.txt +++ b/reactos/CMakeLists.txt @@ -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)