https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a3a1d8f421cc37c1d637e…
commit a3a1d8f421cc37c1d637eb65ba4c5922b2cf7945
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sat Jun 6 23:00:02 2020 +0200
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sat Jun 20 15:25:28 2020 +0200
[CMAKE] Use CMake 3.17 default policies. CORE-17109
---
CMakeLists.txt | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 25ddb7f672a..c7f842d5ae4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,21 +1,10 @@
cmake_minimum_required(VERSION 3.17.0)
-cmake_policy(VERSION 3.2.1)
if(NOT CMAKE_VERSION MATCHES "ReactOS")
message(WARNING "Building with \"${CMAKE_COMMAND}\", which is not the
custom CMake included in RosBE, might cause build issues...")
endif()
-if(POLICY CMP0058)
- # Ninja requires custom command byproducts to be explicit
- cmake_policy(SET CMP0058 NEW)
-endif()
-
-if(POLICY CMP0065)
- # Do not add flags to export symbols from executables without the ENABLE_EXPORTS
target property
- cmake_policy(SET CMP0065 NEW)
-endif()
-
project(REACTOS)
# Versioning