mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
70470ffa45
commit
6439a9b441
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue