Added cmake configuration support.

This commit is contained in:
Christoph Niethammer 2012-02-13 13:44:48 +00:00
parent 3f7ecfc001
commit 3efbcf7132

View file

@ -66,6 +66,10 @@ src_configure() {
cp config.log $LOGDIR cp config.log $LOGDIR
fi fi
fi fi
if [ -f ${SRCDIR}/CMakeLists.txt ] ; then
#sit_info "Running cmake"
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR}
fi
} }
sit_configure() { sit_configure() {
sit_info "Configuring sources ..." sit_info "Configuring sources ..."