[Lemon-commits] Alpar Juttner: CMP0026 cmake policy setting (nee...

Lemon HG hg at lemon.cs.elte.hu
Wed May 6 11:30:10 CEST 2015


details:   http://lemon.cs.elte.hu/hg/lemon/rev/ca4e4a5e9b6e
changeset: 1344:ca4e4a5e9b6e
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Wed May 06 11:28:38 2015 +0200
description:
	CMP0026 cmake policy setting (needed by cmake 3.2+ on WIN32)

diffstat:

 CMakeLists.txt |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,11 @@
   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})
 


More information about the Lemon-commits mailing list