Changeset 1:4721c71fdbfc in lemon-project-template-glpk
- Timestamp:
- 06/02/09 15:55:23 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r0 r1 9 9 SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) 10 10 11 FIND_PACKAGE(LEMON REQUIRED) 11 IF(EXISTS ${CMAKE_SOURCE_DIR}/lemon) 12 ADD_SUBDIRECTORY(lemon) 13 SET(LEMON_INCLUDE_DIRS 14 ${CMAKE_SOURCE_DIR}/lemon 15 ${CMAKE_BINARY_DIR}/lemon 16 ) 17 SET(LEMON_LIBRARIES lemon) 18 ELSE() 19 FIND_PACKAGE(LEMON QUIET NO_MODULE) 20 FIND_PACKAGE(LEMON REQUIRED) 21 ENDIF() 22 12 23 FIND_PACKAGE(Doxygen) 13 24 … … 17 28 ${LEMON_INCLUDE_DIRS} 18 29 ) 19 20 LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lemon)21 30 22 31 ADD_EXECUTABLE(lemon-project main.cc)
Note: See TracChangeset
for help on using the changeset viewer.