mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMAKE] Use CMake 3.17 default policies. CORE-17109
This commit is contained in:
parent
add677e45b
commit
a3a1d8f421
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue