Bugfix: prevent double configurations; Prefer configure before cmake.

This commit is contained in:
Christoph Niethammer 2012-02-15 10:19:28 +00:00
parent 5bea9c3e69
commit 873a91ce65

View file

@ -65,8 +65,7 @@ src_configure() {
if [ ! -z $LOGDIR -a -f config.log ] ; then
cp config.log $LOGDIR
fi
fi
if [ -f ${SRCDIR}/CMakeLists.txt ] ; then
elif [ -f ${SRCDIR}/CMakeLists.txt ] ; then
#sit_info "Running cmake"
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR}
fi