summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-03 16:50:23 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-03 16:50:53 -0700
commitdd9e5bb96fd69dc46605056b37230e68104a6b3b (patch)
tree294d40e240445046776e243313992760d0b96cb1 /scripts
parent0476f6dc18058fb20ae742c12d8df0f93318d780 (diff)
downloadsubsurface-dd9e5bb96fd69dc46605056b37230e68104a6b3b.tar.gz
build.sh: qmake should pick up our INSTALL_ROOT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 02802b03c..b1081163e 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -125,6 +125,7 @@ fi
mkdir -p install-root
INSTALL_ROOT=$SRC/install-root
+export INSTALL_ROOT
# make sure we find our own packages first (e.g., libgit2 only uses pkg_config to find libssh2)
export PKG_CONFIG_PATH=$INSTALL_ROOT/lib/pkgconfig:$PKG_CONFIG_PATH
@@ -449,7 +450,7 @@ if [ ! -z $CMAKE_PREFIX_PATH ] ; then
else
QMAKE=qmake
fi
-$QMAKE PREFIX=$INSTALL_ROOT ../googlemaps.pro
+$QMAKE ../googlemaps.pro
# on Travis the compiler doesn't support c++1z, yet qmake adds that flag;
# since things compile fine with c++11, let's just hack that away
# similarly, don't use -Wdata-time