cmake/LEMONConfig.cmake.in
author Peter Kovacs <kpeter@inf.elte.hu>
Fri, 16 Oct 2009 02:32:30 +0200
changeset 854 9a7e4e606f83
permissions -rw-r--r--
Add a fullInit() function to Suurballe (#181, #323)
to provide faster handling of multiple targets.
A start() function is also added, just for the sake of
convenience.
     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)