Skip Executable_canvasdemo unless DESKTOP

For example, we don't build the vclmain library for non-DESKTOP.

Change-Id: I01a1bcd6387e86c60e5543fcb8009fd1df914a20
This commit is contained in:
Tor Lillqvist 2018-12-21 00:16:19 +02:00
parent 1cbcaebc52
commit c9d8ee0b42

View file

@ -24,7 +24,8 @@ $(eval $(call gb_Module_add_targets,canvas,\
Library_canvastools \
Library_simplecanvas \
Library_vclcanvas \
$(if $(DISABLE_GUI),,Executable_canvasdemo) \
$(if $(filter DESKTOP,$(BUILD_TYPE)), \
$(if $(DISABLE_GUI),,Executable_canvasdemo)) \
))
ifeq ($(ENABLE_CAIRO_CANVAS),TRUE)