author | Akos Ladanyi <ladanyi@tmit.bme.hu> |
Thu, 23 Apr 2009 07:30:40 +0100 | |
changeset 621 | b536eaacb39b |
child 627 | 20dac2104519 |
permissions | -rw-r--r-- |
1 FIND_PATH(CPLEX_INCLUDE_DIR
2 ilcplex/cplex.h
3 PATHS "C:/ILOG/CPLEX91/include")
5 FIND_LIBRARY(CPLEX_LIBRARY
6 NAMES cplex91
7 PATHS "C:/ILOG/CPLEX91/lib/msvc7/stat_mda")
9 INCLUDE(FindPackageHandleStandardArgs)
10 FIND_PACKAGE_HANDLE_STANDARD_ARGS(CPLEX DEFAULT_MSG CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
12 FIND_PATH(CPLEX_BIN_DIR
13 cplex91.dll
14 PATHS "C:/ILOG/CPLEX91/bin/x86_win32")
16 IF(CPLEX_FOUND)
17 SET(CPLEX_INCLUDE_DIRS ${CPLEX_INCLUDE_DIR})
18 SET(CPLEX_LIBRARIES ${CPLEX_LIBRARY})
19 ENDIF(CPLEX_FOUND)
21 MARK_AS_ADVANCED(CPLEX_LIBRARY CPLEX_INCLUDE_DIR CPLEX_BIN_DIR)
23 IF(CPLEX_FOUND)
24 SET(HAVE_LP TRUE)
25 SET(HAVE_MIP TRUE)
26 SET(HAVE_CPLEX TRUE)
27 ENDIF(CPLEX_FOUND)