cmake/LEMONConfig.cmake.in
author Balazs Dezso <deba@inf.elte.hu>
Thu, 24 Jun 2010 09:27:53 +0200
changeset 894 bb70ad62c95f
permissions -rw-r--r--
Fix critical bug in preflow (#372)

The wrong transition between the bound decrease and highest active
heuristics caused the bug. The last node chosen in bound decrease mode
is used in the first iteration in highest active mode.
     1 SET(LEMON_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include" CACHE PATH "LEMON include directory")
     2 SET(LEMON_INCLUDE_DIRS "${LEMON_INCLUDE_DIR}")
     3 
     4 IF(UNIX)
     5   SET(LEMON_LIB_NAME "libemon.a")
     6 ELSEIF(WIN32)
     7   SET(LEMON_LIB_NAME "lemon.lib")
     8 ENDIF(UNIX)
     9 
    10 SET(LEMON_LIBRARY "@CMAKE_INSTALL_PREFIX@/lib/${LEMON_LIB_NAME}" CACHE FILEPATH "LEMON library")
    11 SET(LEMON_LIBRARIES "${LEMON_LIBRARY}")
    12 
    13 MARK_AS_ADVANCED(LEMON_LIBRARY LEMON_INCLUDE_DIR)