mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +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:
parent
1b229a4827
commit
1a045cb4b3
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue