Skip to content

Commit 68a1745

Browse files
committed
Scrip: modify build QFtpServer
1 parent ebe1b69 commit 68a1745

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Package/Flatpak/io.github.KangLin.RabbitRemoteControl.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ modules:
312312
builddir: true
313313
config-opts:
314314
- -DCMAKE_BUILD_TYPE=Release
315+
- -DWITH_APP=OFF
315316

316317
- name: RabbitCommon
317318
disabled: false

Script/build_depend.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,8 @@ if [ $QFtpServer -eq 1 ]; then
873873
pushd $BUILD_DEPEND_DIR/QFtpServer
874874
cmake -S $SOURCE_DIR/QFtpServer -DCMAKE_BUILD_TYPE=Release \
875875
-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \
876-
-DCMAKE_VERBOSE_MAKEFILE=${BUILD_VERBOSE}
876+
-DCMAKE_VERBOSE_MAKEFILE=${BUILD_VERBOSE} \
877+
-DWITH_APP=OFF
877878
cmake --build . --config Release --parallel $(nproc)
878879
cmake --build . --config Release --target install
879880
popd

snap/snapcraft.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ parts:
308308
cmake-parameters:
309309
- -DCMAKE_BUILD_TYPE=Release
310310
- -DCMAKE_PREFIX_PATH=$CRAFT_STAGE/usr/local/
311+
- -DWITH_APP=OFF
311312
prime:
312313
- -usr/local/include
313314

0 commit comments

Comments
 (0)