COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cmake/FindCPLEX.cmake

    r636 r627  
    1 SET(CPLEX_ROOT_DIR "" CACHE PATH "CPLEX root directory")
    2 
    31FIND_PATH(CPLEX_INCLUDE_DIR
    42  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
    95FIND_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")
    158
    169INCLUDE(FindPackageHandleStandardArgs)
     
    1912FIND_PATH(CPLEX_BIN_DIR
    2013  cplex91.dll
    21   PATHS "C:/ILOG/CPLEX91/bin/x86_win32"
    22 )
     14  PATHS "C:/ILOG/CPLEX91/bin/x86_win32")
    2315
    2416IF(CPLEX_FOUND)
    2517  SET(CPLEX_INCLUDE_DIRS ${CPLEX_INCLUDE_DIR})
    2618  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")
    3019ENDIF(CPLEX_FOUND)
    3120
Note: See TracChangeset for help on using the changeset viewer.