aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index a5c1f0fff..8ded61f06 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -442,7 +442,14 @@ fi
cd googlemaps
git checkout master
git pull --rebase
-qmake
+mkdir -p build
+cd build
+if [ ! -z $CMAKE_PREFIX_PATH ] ; then
+ QMAKE=$CMAKE_PREFIX_PATH/../../bin/qmake
+else
+ QMAKE=qmake
+fi
+$QMAKE PREFIX=$INSTALL_ROOT ../googlemaps.pro
make -j4
make install