CMP0026 cmake policy setting (needed by cmake 3.2+ on WIN32)
authorAlpar Juttner <alpar@cs.elte.hu>
Wed, 06 May 2015 11:28:38 +0200
changeset 1137ca4e4a5e9b6e
parent 1135 c199e9976d93
child 1138 f95b18d99843
child 1139 0900cfe4a84d
CMP0026 cmake policy setting (needed by cmake 3.2+ on WIN32)
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Tue Apr 28 18:07:44 2015 +0200
     1.2 +++ b/CMakeLists.txt	Wed May 06 11:28:38 2015 +0200
     1.3 @@ -4,6 +4,11 @@
     1.4    CMAKE_POLICY(SET CMP0048 OLD) 
     1.5  ENDIF(POLICY CMP0048)
     1.6  
     1.7 +IF(POLICY CMP0026)
     1.8 +  #This is for copying the dll's needed by glpk (in lp_test and mip_test)
     1.9 +  CMAKE_POLICY(SET CMP0026 OLD) 
    1.10 +ENDIF(POLICY CMP0026)
    1.11 +
    1.12  SET(PROJECT_NAME "LEMON")
    1.13  PROJECT(${PROJECT_NAME})
    1.14