diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/keystone/0002-fix-cmake4.patch | |
Diffstat (limited to 'vcpkg/ports/keystone/0002-fix-cmake4.patch')
| -rw-r--r-- | vcpkg/ports/keystone/0002-fix-cmake4.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/keystone/0002-fix-cmake4.patch b/vcpkg/ports/keystone/0002-fix-cmake4.patch new file mode 100644 index 0000000..8e66e48 --- /dev/null +++ b/vcpkg/ports/keystone/0002-fix-cmake4.patch @@ -0,0 +1,39 @@ +--- 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) |