# HG changeset patch # User Alpar Juttner # Date 2011-04-15 09:40:17 # Node ID 1f1328691a072461a4ed4e07b094c540735ab9fb # Parent 2024bf2ecdd667ab43f941454a33a7a5d91d6d16 Also search for coin libs under ${COIN_ROOT_DIR}/lib/coin (#419) diff --git a/cmake/FindCOIN.cmake b/cmake/FindCOIN.cmake --- a/cmake/FindCOIN.cmake +++ b/cmake/FindCOIN.cmake @@ -5,42 +5,52 @@ ) FIND_LIBRARY(COIN_CBC_LIBRARY NAMES Cbc libCbc + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_CBC_SOLVER_LIBRARY NAMES CbcSolver libCbcSolver + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_CGL_LIBRARY NAMES Cgl libCgl + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_CLP_LIBRARY NAMES Clp libClp + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_COIN_UTILS_LIBRARY NAMES CoinUtils libCoinUtils + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_OSI_LIBRARY NAMES Osi libOsi + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_OSI_CBC_LIBRARY NAMES OsiCbc libOsiCbc + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_OSI_CLP_LIBRARY NAMES OsiClp libOsiClp + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_OSI_VOL_LIBRARY NAMES OsiVol libOsiVol + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib ) FIND_LIBRARY(COIN_VOL_LIBRARY NAMES Vol libVol + HINTS ${COIN_ROOT_DIR}/lib/coin HINTS ${COIN_ROOT_DIR}/lib )