build-system/mobile: force using our own ECM build

If the OS has an older one installed, that is found first and the
build fails. This way we know that ours is used.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-12-03 12:42:09 -08:00
parent 70470ffa45
commit 6439a9b441
2 changed files with 2 additions and 0 deletions

View file

@ -341,6 +341,7 @@ for ARCH in $ARCHITECTURES ; do
-DCMAKE_C_COMPILER="$CC" \ -DCMAKE_C_COMPILER="$CC" \
-DCMAKE_LINKER="$CC" \ -DCMAKE_LINKER="$CC" \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \ -DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DECM_DIR="$SUBSURFACE_SOURCE"/mobile-widgets/3rdparty/ECM \
"$SUBSURFACE_SOURCE"/mobile-widgets/3rdparty/kirigami "$SUBSURFACE_SOURCE"/mobile-widgets/3rdparty/kirigami
make make
make install make install

View file

@ -533,6 +533,7 @@ for (( i=0 ; i < ${#BUILDS[@]} ; i++ )) ; do
# pull the plasma-mobile components from upstream if building Subsurface-mobile # pull the plasma-mobile components from upstream if building Subsurface-mobile
if [ "$SUBSURFACE_EXECUTABLE" = "MobileExecutable" ] ; then if [ "$SUBSURFACE_EXECUTABLE" = "MobileExecutable" ] ; then
bash ./scripts/mobilecomponents.sh bash ./scripts/mobilecomponents.sh
EXTRA_OPTS="$EXTRA_OPTS -DECM_DIR=$SRC/$SRC_DIR/mobile-widgets/3rdparty/ECM"
fi fi
mkdir -p "$BUILDDIR" mkdir -p "$BUILDDIR"