COIN-OR::LEMON - Graph Library

Changeset 1343:20f95cd51aba in lemon for CMakeLists.txt


Ignore:
Timestamp:
04/28/15 18:13:42 (5 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Parents:
1339:93d455c647be (diff), 1341:c199e9976d93 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Phase:
public
Message:

Merge bugfix #595

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r1337 r1343  
    7171FIND_PACKAGE(Ghostscript)
    7272
     73IF(WIN32)
     74  SET(LEMON_WIN32 TRUE)
     75ENDIF(WIN32)
     76
    7377SET(LEMON_ENABLE_GLPK YES CACHE STRING "Enable GLPK solver backend.")
    7478SET(LEMON_ENABLE_ILOG YES CACHE STRING "Enable ILOG (CPLEX) solver backend.")
  • CMakeLists.txt

    r1340 r1343  
    44  CMAKE_POLICY(SET CMP0048 OLD)
    55ENDIF(POLICY CMP0048)
     6
     7IF(POLICY CMP0043)
     8  CMAKE_POLICY(SET CMP0043 OLD)
     9ENDIF(POLICY CMP0043)
    610
    711SET(PROJECT_NAME "LEMON")
     
    230234    FORCE )
    231235
     236SET_DIRECTORY_PROPERTIES(PROPERTIES
     237  COMPILE_DEFINITIONS_DEBUG "LEMON_ENABLE_DEBUG"
     238  COMPILE_DEFINITIONS_MAINTAINER "LEMON_ENABLE_DEBUG"
     239)
    232240
    233241INCLUDE(CheckTypeSize)
     
    258266
    259267ENABLE_TESTING()
     268
     269
     270INCLUDE(CheckCXXCompilerFlag)
     271CHECK_CXX_COMPILER_FLAG("-std=c++11" LEMON_CXX11)
     272IF(LEMON_CXX11)
     273  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
     274ENDIF()
     275
    260276
    261277IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
Note: See TracChangeset for help on using the changeset viewer.