COIN-OR::LEMON - Graph Library

Changeset 10:5545663ca997 in lemon-project-template-glpk


Ignore:
Timestamp:
11/06/11 21:42:23 (13 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
subpack-glpk
Phase:
public
Message:

Configure GLPK build

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r8 r10  
    4040                       "Subdir for installing the examples")
    4141ENDIF(UNIX)
     42
     43# Configure GLPK. Typically, you don't want to modify it.
     44
     45SET(GLPK_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/deps/glpk/src CACHE STRING "")
     46SET(GLPK_LIBRARY glpk CACHE STRING "")
     47ADD_SUBDIRECTORY(deps/glpk)
    4248
    4349## The next part looks for LEMON. Typically, you don't want to modify it.
     
    8389  ${PROJECT_BINARY_DIR}
    8490  ${LEMON_INCLUDE_DIRS}
     91  ${PROJECT_SOURCE_DIR}/deps/glpk/src
     92)
     93
     94LINK_DIRECTORIES(
     95  ${CMAKE_BINARY_DIR}/glpk
    8596)
    8697
Note: See TracChangeset for help on using the changeset viewer.