Commit 8421745f authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Add check for installed include directories to make install commands for Coin-Or

parent 3974cd19
......@@ -390,8 +390,8 @@ message(STATUS "COIN_CLP_BLAS_LAPACK_LIBS = ${COIN_CLP_BLAS_LAPACK_LIBS}")
set(COIN_CLP_CONFIGURE_COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/cmake/coin-Clp/clp_configure.sh ${COIN_CLP_INSTALL_DIR} ${COIN_CLP_BLAS_LAPACK_LIBS} ${COIN_CLP_CXX} ${COIN_CLP_LIBRARY_DIRS} "${COIN_UTILS_LIBRARY_DIRS}/libCoinUtils.so" ${COIN_UTILS_INCLUDE_DIRS})
set(COIN_UTILS_CONFIGURE_COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/cmake/CoinUtils/coin_utils_configure.sh ${COIN_UTILS_INSTALL_DIR} ${COIN_CLP_BLAS_LAPACK_LIBS} ${COIN_CLP_CXX} ${COIN_CLP_LIBRARY_DIRS})
set(COIN_UTILS_MAKE_INSTALL_COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/cmake/CoinUtils/coin_utils_make_install.sh ${COIN_UTILS_LIBRARY_DIRS}/libCoinUtils.so)
set(COIN_CLP_MAKE_INSTALL_COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/cmake/coin-Clp/clp_make_install.sh ${COIN_CLP_LIBRARY_DIRS}/libClp.so)
set(COIN_UTILS_MAKE_INSTALL_COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/cmake/CoinUtils/coin_utils_make_install.sh ${COIN_UTILS_LIBRARY_DIRS}/libCoinUtils.so ${COIN_UTILS_INCLUDE_DIRS})
set(COIN_CLP_MAKE_INSTALL_COMMAND bash ${CMAKE_CURRENT_LIST_DIR}/cmake/coin-Clp/clp_make_install.sh ${COIN_CLP_LIBRARY_DIRS}/libClp.so ${COIN_CLP_INCLUDE_DIRS})
ExternalProject_Add(
external_CoinUtils
......
#! /usr/bin/bash
if [ ! -f $1 ]; then make install; fi
if [ ! -f $1 ] || [ ! -d $2 ]; then make install; fi
#! /usr/bin/bash
if [ ! -f $1 ]; then make install; fi
if [ ! -f $1 ] || [ ! -d $2 ]; then make install; fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment