static/Module_static.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit dc13cdbc588d647f40ef0380e380d79ea5db3dc2 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri Nov 25 15:26:10 2022 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Nov 25 15:26:44 2022 +0200 Don't build the Qt5 Mandelbrot demos unless we have Qt5 diff --git a/static/Module_static.mk b/static/Module_static.mk index a21b2355741b..cd37748e1396 100644 --- a/static/Module_static.mk +++ b/static/Module_static.mk @@ -18,8 +18,10 @@ $(eval $(call gb_Module_add_targets,static,\ ifeq (EMSCRIPTEN,$(OS)) $(eval $(call gb_Module_add_targets,static,\ CustomTarget_emscripten_fs_image \ - CustomTarget_wasm-qt5-mandelbrot_moc \ - Executable_wasm-qt5-mandelbrot \ + $(if $(ENABLE_QT5), \ + CustomTarget_wasm-qt5-mandelbrot_moc \ + Executable_wasm-qt5-mandelbrot \ + ) \ )) endif