lemon-project-template-glpk
view cmake/FindLEMON.cmake @ 4:6de89926e594
Add images to NSIS installer generator
author | Peter Kovacs <kpeter@inf.elte.hu> |
---|---|
date | Wed, 24 Jun 2009 11:22:23 +0100 |
parents | |
children |
line source
1 SET(LEMON_ROOT_DIR "" CACHE PATH "LEMON root directory")
3 FIND_PATH(LEMON_INCLUDE_DIR
4 lemon/core.h
5 HINTS ${LEMON_ROOT_DIR}/include
6 "C:/Program Files/LEMON/include"
8 )
9 FIND_LIBRARY(LEMON_LIBRARY
10 NAMES lemon emon
11 HINTS ${LEMON_ROOT_DIR}/lib
12 "C:/Program Files/LEMON/lib"
14 )
16 INCLUDE(FindPackageHandleStandardArgs)
17 FIND_PACKAGE_HANDLE_STANDARD_ARGS(LEMON DEFAULT_MSG LEMON_LIBRARY LEMON_INCLUDE_DIR)
19 IF(LEMON_FOUND)
20 SET(LEMON_INCLUDE_DIRS ${LEMON_INCLUDE_DIR})
21 SET(LEMON_LIBRARIES ${LEMON_LIBRARY})
22 ENDIF(LEMON_FOUND)
24 MARK_AS_ADVANCED(LEMON_LIBRARY LEMON_INCLUDE_DIR)