mirror of https://github.com/microsoft/vcpkg.git
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1,7 +1,7 @@
|
|
# Keystone Assembler Engine (www.keystone-engine.org)
|
|
# By Nguyen Anh Quynh, 2016
|
|
|
|
-cmake_minimum_required(VERSION 2.8.7)
|
|
+cmake_minimum_required(VERSION 3.5)
|
|
project(keystone)
|
|
|
|
set(KEYSTONE_VERSION_MAJOR 0)
|
|
@@ -24,7 +24,7 @@ if (POLICY CMP0051)
|
|
# stripped everywhere that access the SOURCES property, so we just
|
|
# defer to the OLD behavior of not including generator expressions
|
|
# in the output for now.
|
|
- cmake_policy(SET CMP0051 OLD)
|
|
+ # cmake_policy(SET CMP0051 OLD)
|
|
endif()
|
|
|
|
if (POLICY CMP0063)
|
|
--- a/llvm/CMakeLists.txt
|
|
+++ b/llvm/CMakeLists.txt
|
|
@@ -1,6 +1,6 @@
|
|
# See docs/CMake.html for instructions about how to build LLVM with CMake.
|
|
|
|
-cmake_minimum_required(VERSION 2.8.7)
|
|
+cmake_minimum_required(VERSION 3.5)
|
|
|
|
set(LLVM_INSTALL_TOOLCHAIN_ONLY ON)
|
|
|
|
@@ -19,7 +19,7 @@ if (POLICY CMP0051)
|
|
# stripped everywhere that access the SOURCES property, so we just
|
|
# defer to the OLD behavior of not including generator expressions
|
|
# in the output for now.
|
|
- cmake_policy(SET CMP0051 OLD)
|
|
+ # cmake_policy(SET CMP0051 OLD)
|
|
endif()
|
|
|
|
if(CMAKE_VERSION VERSION_LESS 3.1.20141117)
|