aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/liblemon/fix-cmake4.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/liblemon/fix-cmake4.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/liblemon/fix-cmake4.patch')
-rw-r--r--vcpkg/ports/liblemon/fix-cmake4.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/liblemon/fix-cmake4.patch b/vcpkg/ports/liblemon/fix-cmake4.patch
new file mode 100644
index 0000000..0573e8e
--- /dev/null
+++ b/vcpkg/ports/liblemon/fix-cmake4.patch
@@ -0,0 +1,19 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5717680e51..4a3992dafa 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,14 +1,5 @@
+ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
+
+-IF(POLICY CMP0048)
+- CMAKE_POLICY(SET CMP0048 OLD)
+-ENDIF(POLICY CMP0048)
+-
+-IF(POLICY CMP0026)
+- #This is for copying the dll's needed by glpk (in lp_test and mip_test)
+- CMAKE_POLICY(SET CMP0026 OLD)
+-ENDIF(POLICY CMP0026)
+-
+ SET(PROJECT_NAME "LEMON")
+ PROJECT(${PROJECT_NAME})
+