[CMAKE] Fix broken PCH handling since r67483.
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 28 Aug 2015 09:24:39 +0000 (09:24 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 28 Aug 2015 09:24:39 +0000 (09:24 +0000)
svn path=/trunk/; revision=68843

reactos/CMakeLists.txt

index 654ba0c..70cfe2f 100644 (file)
@@ -151,7 +151,7 @@ else()
         add_definitions(-D_WINKD_=1)
     endif()
 
-    if(CMAKE_VERSION MATCHES "ReactOS" AND MSVC_VERSION LESS 1900)
+    if(CMAKE_VERSION MATCHES "ReactOS")
         set(PCH 1 CACHE BOOL "Whether to use precompiled headers")
     else()
         set(PCH 0 CACHE BOOL "Whether to use precompiled headers")