mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
misc/subsurface: fix build against Qt 5.7.1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
This commit is contained in:
parent
61180d814d
commit
6ec458ef6c
1 changed files with 3 additions and 3 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue