vcpkg/ports/liblemon/fix-cmake4.patch

20 lines
468 B
Diff

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})