allow additional commands

This commit is contained in:
Geoff R. McLane 2015-02-07 15:50:00 +01:00
parent 4bb9418c7c
commit d2cc284456

View file

@ -19,6 +19,11 @@ TMPOPTS="-DCMAKE_INSTALL_PREFIX=$TMPINST"
# Default to SHARED library in unix
TMPOPTS="$TMPOPTS -DBUILD_SHARED_LIB:BOOL=TRUE"
for arg in $@; do
TMPOPTS="$TMPOPTS $arg"
done
echo "$BN: Doing: 'cmake $TMPSRC $TMPOPTS' to $BLDLOG"
cmake $TMPSRC $TMPOPTS >> $BLDLOG 2>&1
if [ ! "$?" = "0" ]; then