misc/subsurface: fix build against Qt 5.7.1

Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
This commit is contained in:
Larry Hajali 2017-01-25 09:28:36 -08:00 committed by Willy Sudiarto Raharjo
parent 61180d814d
commit 6ec458ef6c
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -25,7 +25,7 @@
PRGNAM=subsurface
SRCNAM=Subsurface
VERSION=${VERSION:-4.6.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -107,7 +107,7 @@ cd marble-$PRGNAM-branch-$VERSION/build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH="/usr" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DQT5BUILD:BOOL=ON \
-DQTONLY:BOOL=TRUE \
-DBUILD_MARBLE_APPS:BOOL=OFF \
@ -146,7 +146,7 @@ cd build
-DFTDISUPPORT:BOOL="$FTDISUPPORT" \
-DUSE_WEBENGINE:BOOL="$QWEBSUPPORT" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DMARBLE_LIBRARIES="$PKG/usr/lib${LIBDIRSUFFIX}/libssrfmarblewidget.so" \
-DMARBLE_INCLUDE_DIR="$PKG/usr/include" \
-DLIBDIVECOMPUTER_INCLUDE_DIR="../usr/include" \