Author: akhaldi
Date: Sat Feb 28 09:59:39 2015
New Revision: 66484
URL:
http://svn.reactos.org/svn/reactos?rev=66484&view=rev
Log:
[CMAKE] Just check for ReactOS in CMake version for PCH, not a specific version.
Modified:
trunk/reactos/CMakeLists.txt
Modified: trunk/reactos/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/CMakeLists.txt?rev=66484&a…
==============================================================================
--- trunk/reactos/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/CMakeLists.txt [iso-8859-1] Sat Feb 28 09:59:39 2015
@@ -137,7 +137,7 @@
add_definitions(-D_WINKD_=1)
endif()
- if(CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS")
+ 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")