diff --git a/functions.sh b/functions.sh index 17463bb..4448b7f 100644 --- a/functions.sh +++ b/functions.sh @@ -66,6 +66,10 @@ src_configure() { cp config.log $LOGDIR fi fi + if [ -f ${SRCDIR}/CMakeLists.txt ] ; then +#sit_info "Running cmake" + cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR} + fi } sit_configure() { sit_info "Configuring sources ..."