mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 19:25:36 +00:00
[CMAKE] Just check for ReactOS in CMake version for PCH, not a specific version.
svn path=/trunk/; revision=66484
This commit is contained in:
@@ -137,7 +137,7 @@ else()
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user