Bugfix: prevent double configurations; Prefer configure before cmake.
This commit is contained in:
parent
5bea9c3e69
commit
873a91ce65
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue