Author: akhaldi
Date: Tue Feb 18 11:12:26 2014
New Revision: 62241

URL: http://svn.reactos.org/svn/reactos?rev=62241&view=rev
Log:
[CMAKE]
* Set the default PCH value only if it's not already set.

Modified:
    trunk/reactos/CMakeLists.txt

Modified: trunk/reactos/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/CMakeLists.txt?rev=62241&r1=62240&r2=62241&view=diff
==============================================================================
--- trunk/reactos/CMakeLists.txt        [iso-8859-1] (original)
+++ trunk/reactos/CMakeLists.txt        [iso-8859-1] Tue Feb 18 11:12:26 2014
@@ -134,7 +134,7 @@
         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)


Reply via email to