allow additional commands
This commit is contained in:
parent
4bb9418c7c
commit
d2cc284456
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue