cmake/FindCOIN.cmake
branch1.1
changeset 755 40bbb450143e
parent 753 1f1328691a07
child 781 ee581a0ecfbf
     1.1 --- a/cmake/FindCOIN.cmake	Tue Apr 12 07:46:34 2011 +0200
     1.2 +++ b/cmake/FindCOIN.cmake	Wed Jul 13 14:40:05 2011 +0200
     1.3 @@ -5,42 +5,52 @@
     1.4  )
     1.5  FIND_LIBRARY(COIN_CBC_LIBRARY
     1.6    NAMES Cbc libCbc
     1.7 +  HINTS ${COIN_ROOT_DIR}/lib/coin
     1.8    HINTS ${COIN_ROOT_DIR}/lib
     1.9  )
    1.10  FIND_LIBRARY(COIN_CBC_SOLVER_LIBRARY
    1.11    NAMES CbcSolver libCbcSolver
    1.12 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.13    HINTS ${COIN_ROOT_DIR}/lib
    1.14  )
    1.15  FIND_LIBRARY(COIN_CGL_LIBRARY
    1.16    NAMES Cgl libCgl
    1.17 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.18    HINTS ${COIN_ROOT_DIR}/lib
    1.19  )
    1.20  FIND_LIBRARY(COIN_CLP_LIBRARY
    1.21    NAMES Clp libClp
    1.22 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.23    HINTS ${COIN_ROOT_DIR}/lib
    1.24  )
    1.25  FIND_LIBRARY(COIN_COIN_UTILS_LIBRARY
    1.26    NAMES CoinUtils libCoinUtils
    1.27 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.28    HINTS ${COIN_ROOT_DIR}/lib
    1.29  )
    1.30  FIND_LIBRARY(COIN_OSI_LIBRARY
    1.31    NAMES Osi libOsi
    1.32 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.33    HINTS ${COIN_ROOT_DIR}/lib
    1.34  )
    1.35  FIND_LIBRARY(COIN_OSI_CBC_LIBRARY
    1.36    NAMES OsiCbc libOsiCbc
    1.37 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.38    HINTS ${COIN_ROOT_DIR}/lib
    1.39  )
    1.40  FIND_LIBRARY(COIN_OSI_CLP_LIBRARY
    1.41    NAMES OsiClp libOsiClp
    1.42 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.43    HINTS ${COIN_ROOT_DIR}/lib
    1.44  )
    1.45  FIND_LIBRARY(COIN_OSI_VOL_LIBRARY
    1.46    NAMES OsiVol libOsiVol
    1.47 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.48    HINTS ${COIN_ROOT_DIR}/lib
    1.49  )
    1.50  FIND_LIBRARY(COIN_VOL_LIBRARY
    1.51    NAMES Vol libVol
    1.52 +  HINTS ${COIN_ROOT_DIR}/lib/coin
    1.53    HINTS ${COIN_ROOT_DIR}/lib
    1.54  )
    1.55  
    1.56 @@ -55,13 +65,13 @@
    1.57    COIN_OSI_LIBRARY
    1.58    COIN_OSI_CBC_LIBRARY
    1.59    COIN_OSI_CLP_LIBRARY
    1.60 -  COIN_OSI_VOL_LIBRARY
    1.61 -  COIN_VOL_LIBRARY
    1.62 +  # COIN_OSI_VOL_LIBRARY
    1.63 +  # COIN_VOL_LIBRARY
    1.64  )
    1.65  
    1.66  IF(COIN_FOUND)
    1.67    SET(COIN_INCLUDE_DIRS ${COIN_INCLUDE_DIR})
    1.68 -  SET(COIN_LIBRARIES "${COIN_CBC_LIBRARY};${COIN_CBC_SOLVER_LIBRARY};${COIN_CGL_LIBRARY};${COIN_CLP_LIBRARY};${COIN_COIN_UTILS_LIBRARY};${COIN_OSI_LIBRARY};${COIN_OSI_CBC_LIBRARY};${COIN_OSI_CLP_LIBRARY};${COIN_OSI_VOL_LIBRARY};${COIN_VOL_LIBRARY}")
    1.69 +  SET(COIN_LIBRARIES "${COIN_CBC_LIBRARY};${COIN_CBC_SOLVER_LIBRARY};${COIN_CGL_LIBRARY};${COIN_CLP_LIBRARY};${COIN_COIN_UTILS_LIBRARY};${COIN_OSI_LIBRARY};${COIN_OSI_CBC_LIBRARY};${COIN_OSI_CLP_LIBRARY}")
    1.70    SET(COIN_CLP_LIBRARIES "${COIN_CLP_LIBRARY};${COIN_COIN_UTILS_LIBRARY}")
    1.71    SET(COIN_CBC_LIBRARIES ${COIN_LIBRARIES})
    1.72  ENDIF(COIN_FOUND)