https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8639a131b09b97688b5f4…
commit 8639a131b09b97688b5f45e172f8c5fa0ea15e6f
Author: Victor Perevertkin <victor(a)perevertkin.ru>
AuthorDate: Mon Apr 27 03:40:48 2020 +0300
Commit: Victor Perevertkin <victor(a)perevertkin.ru>
CommitDate: Mon Apr 27 03:40:48 2020 +0300
[CMAKE] Fix build with CMake 3.17.1-ReactOS (RosBE 2.2)
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 50fbf192c4b..703d92f3bbe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -139,7 +139,7 @@ else()
add_definitions(-D_WINKD_)
endif()
- if(CMAKE_VERSION MATCHES "ReactOS")
+ if(CMAKE_VERSION MATCHES "ReactOS" AND CMAKE_VERSION VERSION_LESS 3.3.0)
set(PCH 1 CACHE BOOL "Whether to use precompiled headers")
else()
set(PCH 0 CACHE BOOL "Whether to use precompiled headers")