aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/yasm/cmake-4.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/yasm/cmake-4.diff')
-rw-r--r--vcpkg/ports/yasm/cmake-4.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/yasm/cmake-4.diff b/vcpkg/ports/yasm/cmake-4.diff
new file mode 100644
index 0000000..14aaaec
--- /dev/null
+++ b/vcpkg/ports/yasm/cmake-4.diff
@@ -0,0 +1,11 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8df871c..2eafe3f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ PROJECT(yasm)
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+ if (COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)
+ endif (COMMAND cmake_policy)