ladanyi@668: SET(COIN_ROOT_DIR "" CACHE PATH "COIN root directory") ladanyi@668: ladanyi@668: FIND_PATH(COIN_INCLUDE_DIR coin/CoinUtilsConfig.h ladanyi@668: PATHS ${COIN_ROOT_DIR}/include) ladanyi@668: ladanyi@668: FIND_LIBRARY(COIN_CBC_LIBRARY libCbc ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_CBC_SOLVER_LIBRARY libCbcSolver ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_CGL_LIBRARY libCgl ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_CLP_LIBRARY libClp ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_COIN_UTILS_LIBRARY libCoinUtils ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_OSI_LIBRARY libOsi ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_OSI_CBC_LIBRARY libOsiCbc ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_OSI_CLP_LIBRARY libOsiClp ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_OSI_VOL_LIBRARY libOsiVol ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: FIND_LIBRARY(COIN_VOL_LIBRARY libVol ladanyi@668: PATHS ${COIN_ROOT_DIR}/lib) ladanyi@668: ladanyi@668: INCLUDE(FindPackageHandleStandardArgs) ladanyi@668: FIND_PACKAGE_HANDLE_STANDARD_ARGS(COIN DEFAULT_MSG ladanyi@668: COIN_INCLUDE_DIR ladanyi@668: COIN_CBC_LIBRARY ladanyi@668: COIN_CBC_SOLVER_LIBRARY ladanyi@668: COIN_CGL_LIBRARY ladanyi@668: COIN_CLP_LIBRARY ladanyi@668: COIN_COIN_UTILS_LIBRARY ladanyi@668: COIN_OSI_LIBRARY ladanyi@668: COIN_OSI_CBC_LIBRARY ladanyi@668: COIN_OSI_CLP_LIBRARY ladanyi@668: COIN_OSI_VOL_LIBRARY ladanyi@668: COIN_VOL_LIBRARY ladanyi@668: ) ladanyi@668: ladanyi@668: IF(COIN_FOUND) ladanyi@668: SET(COIN_INCLUDE_DIRS ${COIN_INCLUDE_DIR}) ladanyi@668: 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}") ladanyi@668: SET(COIN_CLP_LIBRARIES "${COIN_CLP_LIBRARY};${COIN_COIN_UTILS_LIBRARY}") ladanyi@668: SET(COIN_CBC_LIBRARIES ${COIN_LIBRARIES}) ladanyi@668: ENDIF(COIN_FOUND) ladanyi@668: ladanyi@668: MARK_AS_ADVANCED( ladanyi@668: COIN_INCLUDE_DIR ladanyi@668: COIN_CBC_LIBRARY ladanyi@668: COIN_CBC_SOLVER_LIBRARY ladanyi@668: COIN_CGL_LIBRARY ladanyi@668: COIN_CLP_LIBRARY ladanyi@668: COIN_COIN_UTILS_LIBRARY ladanyi@668: COIN_OSI_LIBRARY ladanyi@668: COIN_OSI_CBC_LIBRARY ladanyi@668: COIN_OSI_CLP_LIBRARY ladanyi@668: COIN_OSI_VOL_LIBRARY ladanyi@668: COIN_VOL_LIBRARY ladanyi@668: ) ladanyi@668: ladanyi@668: IF(COIN_FOUND) ladanyi@674: SET(LEMON_HAVE_LP TRUE) ladanyi@674: SET(LEMON_HAVE_MIP TRUE) ladanyi@674: SET(LEMON_HAVE_CLP TRUE) ladanyi@674: SET(LEMON_HAVE_CBC TRUE) ladanyi@668: ENDIF(COIN_FOUND)