Changes in cmake/FindCPLEX.cmake [636:6dc44006c1a8:627:20dac2104519] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cmake/FindCPLEX.cmake
r636 r627 1 SET(CPLEX_ROOT_DIR "" CACHE PATH "CPLEX root directory")2 3 1 FIND_PATH(CPLEX_INCLUDE_DIR 4 2 ilcplex/cplex.h 5 PATHS "C:/ILOG/CPLEX91/include" 6 PATHS "/opt/ilog/cplex91/include" 7 HINTS ${CPLEX_ROOT_DIR}/include 8 ) 3 PATHS "C:/ILOG/CPLEX91/include") 4 9 5 FIND_LIBRARY(CPLEX_LIBRARY 10 cplex91 11 PATHS "C:/ILOG/CPLEX91/lib/msvc7/stat_mda" 12 PATHS "/opt/ilog/cplex91/bin" 13 HINTS ${CPLEX_ROOT_DIR}/bin 14 ) 6 NAMES cplex91 7 PATHS "C:/ILOG/CPLEX91/lib/msvc7/stat_mda") 15 8 16 9 INCLUDE(FindPackageHandleStandardArgs) … … 19 12 FIND_PATH(CPLEX_BIN_DIR 20 13 cplex91.dll 21 PATHS "C:/ILOG/CPLEX91/bin/x86_win32" 22 ) 14 PATHS "C:/ILOG/CPLEX91/bin/x86_win32") 23 15 24 16 IF(CPLEX_FOUND) 25 17 SET(CPLEX_INCLUDE_DIRS ${CPLEX_INCLUDE_DIR}) 26 18 SET(CPLEX_LIBRARIES ${CPLEX_LIBRARY}) 27 IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")28 SET(CPLEX_LIBRARIES "${CPLEX_LIBRARIES};m;pthread")29 ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")30 19 ENDIF(CPLEX_FOUND) 31 20
Note: See TracChangeset
for help on using the changeset viewer.