1.1 --- a/cmake/FindCPLEX.cmake Tue Dec 20 19:37:25 2011 +0100
1.2 +++ b/cmake/FindCPLEX.cmake Wed Jan 11 13:58:30 2012 +0100
1.3 @@ -2,23 +2,25 @@
1.4
1.5 FIND_PATH(CPLEX_INCLUDE_DIR
1.6 ilcplex/cplex.h
1.7 - PATHS "C:/ILOG/CPLEX91/include"
1.8 - PATHS "/opt/ilog/cplex91/include"
1.9 + PATHS "C:/ILOG/CPLEX/include"
1.10 + PATHS "/opt/ilog/cplex/include"
1.11 HINTS ${CPLEX_ROOT_DIR}/include
1.12 )
1.13 FIND_LIBRARY(CPLEX_LIBRARY
1.14 - cplex91
1.15 - PATHS "C:/ILOG/CPLEX91/lib/msvc7/stat_mda"
1.16 - PATHS "/opt/ilog/cplex91/bin"
1.17 + cplex
1.18 + PATHS "C:/ILOG/CPLEX/lib/msvc7/stat_mda"
1.19 + PATHS "/opt/ilog/cplex/bin"
1.20 HINTS ${CPLEX_ROOT_DIR}/bin
1.21 + HINTS ${CPLEX_ROOT_DIR}/lib
1.22 )
1.23
1.24 INCLUDE(FindPackageHandleStandardArgs)
1.25 FIND_PACKAGE_HANDLE_STANDARD_ARGS(CPLEX DEFAULT_MSG CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
1.26
1.27 FIND_PATH(CPLEX_BIN_DIR
1.28 - cplex91.dll
1.29 - PATHS "C:/ILOG/CPLEX91/bin/x86_win32"
1.30 + cplex.dll
1.31 + PATHS "C:/ILOG/CPLEX/bin/x86_win32"
1.32 + HINTS ${CPLEX_ROOT_DIR}/bin
1.33 )
1.34
1.35 IF(CPLEX_FOUND)