COIN-OR::LEMON - Graph Library

source: lemon-project-template-glpk/cmake/FindLEMON.cmake @ 10:5545663ca997

Last change on this file since 10:5545663ca997 was 0:368136e07d23, checked in by Alpar Juttner <alpar@…>, 15 years ago

LEMON project template

File size: 611 bytes
Line 
1SET(LEMON_ROOT_DIR "" CACHE PATH "LEMON root directory")
2
3FIND_PATH(LEMON_INCLUDE_DIR
4  lemon/core.h
5  HINTS ${LEMON_ROOT_DIR}/include
6        "C:/Program Files/LEMON/include"
7       
8)
9FIND_LIBRARY(LEMON_LIBRARY
10  NAMES lemon emon
11  HINTS ${LEMON_ROOT_DIR}/lib
12        "C:/Program Files/LEMON/lib"
13       
14)
15
16INCLUDE(FindPackageHandleStandardArgs)
17FIND_PACKAGE_HANDLE_STANDARD_ARGS(LEMON DEFAULT_MSG LEMON_LIBRARY LEMON_INCLUDE_DIR)
18
19IF(LEMON_FOUND)
20  SET(LEMON_INCLUDE_DIRS ${LEMON_INCLUDE_DIR})
21  SET(LEMON_LIBRARIES ${LEMON_LIBRARY})
22ENDIF(LEMON_FOUND)
23
24MARK_AS_ADVANCED(LEMON_LIBRARY LEMON_INCLUDE_DIR)
Note: See TracBrowser for help on using the repository browser.