cmake/LEMONConfig.cmake.in
author Alpar Juttner <alpar@cs.elte.hu>
Fri, 03 Sep 2010 15:37:19 +0200
changeset 994 7d166b8b8018
permissions -rw-r--r--
Safer call of ./scripts/chg-len.py on Windows (#389)

Still hard to get it worked properly by user. It needs
- a python interpreter in the exec path
- the mercurial modules accessible by this interpreter
ladanyi@722
     1
SET(LEMON_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include" CACHE PATH "LEMON include directory")
ladanyi@722
     2
SET(LEMON_INCLUDE_DIRS "${LEMON_INCLUDE_DIR}")
ladanyi@722
     3
ladanyi@722
     4
IF(UNIX)
ladanyi@722
     5
  SET(LEMON_LIB_NAME "libemon.a")
ladanyi@722
     6
ELSEIF(WIN32)
ladanyi@722
     7
  SET(LEMON_LIB_NAME "lemon.lib")
ladanyi@722
     8
ENDIF(UNIX)
ladanyi@722
     9
ladanyi@722
    10
SET(LEMON_LIBRARY "@CMAKE_INSTALL_PREFIX@/lib/${LEMON_LIB_NAME}" CACHE FILEPATH "LEMON library")
ladanyi@722
    11
SET(LEMON_LIBRARIES "${LEMON_LIBRARY}")
ladanyi@722
    12
ladanyi@722
    13
MARK_AS_ADVANCED(LEMON_LIBRARY LEMON_INCLUDE_DIR)