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 if [ ! -z $LOGDIR -a -f config.log ] ; then
cp config.log $LOGDIR cp config.log $LOGDIR
fi fi
fi elif [ -f ${SRCDIR}/CMakeLists.txt ] ; then
if [ -f ${SRCDIR}/CMakeLists.txt ] ; then
#sit_info "Running cmake" #sit_info "Running cmake"
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR} cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR}
fi fi