From 743713648e1abc124fc5783f3ea6a20b7d73701d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 11 Jan 2023 12:56:04 +0200 Subject: Don't bother building the vcldemo executable for WASM unless using Qt5 Reduces build time a bit. Sadly, we do need to build soffice.wasm also when not using Qt5, because wasm/Makefile.am in online uses its .linkdeps file. Change-Id: I48f67598050208220e63e3a0ff627f6420ff837f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145353 Tested-by: Jenkins Reviewed-by: Tor Lillqvist --- vcl/Module_vcl.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vcl/Module_vcl.mk') diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk index 596ed5b8c03a..b6d06a6bc351 100644 --- a/vcl/Module_vcl.mk +++ b/vcl/Module_vcl.mk @@ -37,7 +37,9 @@ $(eval $(call gb_Module_add_targets,vcl,\ $(if $(filter DESKTOP FUZZERS,$(BUILD_TYPE)), \ StaticLibrary_vclmain \ $(if $(or $(DISABLE_GUI),$(DISABLE_DYNLOADING)), \ - $(if $(filter EMSCRIPTEN,$(OS)),Executable_vcldemo) \ + $(if $(filter EMSCRIPTEN,$(OS)), \ + $(if $(ENABLE_QT5),Executable_vcldemo) \ + ) \ , \ $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)), \ Executable_vcldemo \ -- cgit