cmake/LEMONConfig.cmake.in
author Alpar Juttner <alpar@cs.elte.hu>
Thu, 09 Sep 2010 15:55:00 +0200
changeset 900 659ba4805a48
permissions -rw-r--r--
Make CMAKE config more consistent with configure.ac (#390)

- CMAKE_BUILD_TYPE is Release by deafult
- The same set of warnings are used when compiling with gcc
     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)