aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/android/qmake-build.sh1
-rwxr-xr-xscripts/build.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/packaging/android/qmake-build.sh b/packaging/android/qmake-build.sh
index b9180836c..fc2c2dfe8 100755
--- a/packaging/android/qmake-build.sh
+++ b/packaging/android/qmake-build.sh
@@ -341,6 +341,7 @@ for ARCH in $ARCHITECTURES ; do
-DCMAKE_C_COMPILER="$CC" \
-DCMAKE_LINKER="$CC" \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
+ -DECM_DIR="$SUBSURFACE_SOURCE"/mobile-widgets/3rdparty/ECM \
"$SUBSURFACE_SOURCE"/mobile-widgets/3rdparty/kirigami
make
make install
diff --git a/scripts/build.sh b/scripts/build.sh
index fef234ac5..05921473b 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -533,6 +533,7 @@ for (( i=0 ; i < ${#BUILDS[@]} ; i++ )) ; do
# pull the plasma-mobile components from upstream if building Subsurface-mobile
if [ "$SUBSURFACE_EXECUTABLE" = "MobileExecutable" ] ; then
bash ./scripts/mobilecomponents.sh
+ EXTRA_OPTS="$EXTRA_OPTS -DECM_DIR=$SRC/$SRC_DIR/mobile-widgets/3rdparty/ECM"
fi
mkdir -p "$BUILDDIR"