Specify lib dependencies for the main lib build (#481)
authorAlpar Juttner <alpar@cs.elte.hu>
Mon, 07 Jul 2014 11:23:41 +0200
changeset 111607cd9a2d20e0
parent 1115 9153e490f09c
child 1118 ce1533650f7d
Specify lib dependencies for the main lib build (#481)
lemon/CMakeLists.txt
     1.1 --- a/lemon/CMakeLists.txt	Fri Jul 04 13:41:22 2014 +0200
     1.2 +++ b/lemon/CMakeLists.txt	Mon Jul 07 11:23:41 2014 +0200
     1.3 @@ -55,6 +55,11 @@
     1.4  ENDIF()
     1.5  
     1.6  ADD_LIBRARY(lemon ${LEMON_SOURCES})
     1.7 +
     1.8 +TARGET_LINK_LIBRARIES(lemon
     1.9 +  ${GLPK_LIBRARIES} ${COIN_LIBRARIES} ${ILOG_LIBRARIES} ${SOPLEX_LIBRARIES}
    1.10 +  )
    1.11 +
    1.12  IF(UNIX)
    1.13    SET_TARGET_PROPERTIES(lemon PROPERTIES OUTPUT_NAME emon VERSION ${LEMON_VERSION} SOVERSION ${LEMON_VERSION})
    1.14  ENDIF()