COIN-OR::LEMON - Graph Library

Ticket #502: lemon-1.3.1-cmake-policy.patch

File lemon-1.3.1-cmake-policy.patch, 356 bytes (added by amluto, 5 years ago)
  • lemon-1.3.1/CMakeLists.txt

    old new  
    11CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
    22
    3 CMAKE_POLICY(SET CMP0048 OLD)
     3IF(POLICY CMP0048)
     4  CMAKE_POLICY(SET CMP0048 OLD)
     5ENDIF(POLICY CMP0048)
    46
    57SET(PROJECT_NAME "LEMON")
    68PROJECT(${PROJECT_NAME})