default to shared library for unix

This commit is contained in:
Geoff R. McLane 2014-08-06 12:51:04 +02:00
parent b940ad5956
commit db0770ab8b

View file

@ -15,6 +15,8 @@ fi
##############################################
TMPOPTS="-DCMAKE_INSTALL_PREFIX=$HOME"
#############################################
# Default to SHARED library in unxi
TMPOPTS="$TMPOPTS -DBUILD_SHARED_LIB:BOOL=TRUE"
echo "$BN: Doing: 'cmake $TMPSRC $TMPOPTS' to $BLDLOG"
cmake $TMPSRC $TMPOPTS >> $BLDLOG 2>&1