COIN-OR::LEMON - Graph Library

Ticket #481: 70afd6c32697.patch

File 70afd6c32697.patch, 705 bytes (added by Alpar Juttner, 10 years ago)
  • lemon/CMakeLists.txt

    # HG changeset patch
    # User Alpar Juttner <alpar@cs.elte.hu>
    # Date 1404476072 -7200
    #      Fri Jul 04 14:14:32 2014 +0200
    # Node ID 70afd6c326978e2d5cafd022709300bf0c1d4699
    # Parent  d6a6b83bebd078290694ac76274bffc61e8e06cc
    Specify lib dependencies for the main lib build (#481)
    
    diff --git a/lemon/CMakeLists.txt b/lemon/CMakeLists.txt
    a b  
    5555ENDIF()
    5656
    5757ADD_LIBRARY(lemon ${LEMON_SOURCES})
     58
     59TARGET_LINK_LIBRARIES(lemon
     60  ${GLPK_LIBRARIES} ${COIN_LIBRARIES} ${ILOG_LIBRARIES} ${SOPLEX_LIBRARIES}
     61  )
     62
    5863IF(UNIX)
    5964  SET_TARGET_PROPERTIES(lemon PROPERTIES OUTPUT_NAME emon VERSION ${LEMON_VERSION} SOVERSION ${LEMON_VERSION})
    6065ENDIF()