summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-12-21 00:16:19 +0200
committerTor Lillqvist <tml@collabora.com>2018-12-21 00:16:24 +0200
commitc9d8ee0b4261e5a264e63ecb5d3feb4cfa3066c0 (patch)
tree849958e9a19ad9b55d6de68d36ec02ad48f3d438 /canvas
parent1cbcaebc524a615cbb2aa2c0221db8f743ac5640 (diff)
Skip Executable_canvasdemo unless DESKTOP
For example, we don't build the vclmain library for non-DESKTOP. Change-Id: I01a1bcd6387e86c60e5543fcb8009fd1df914a20
Diffstat (limited to 'canvas')
-rw-r--r--canvas/Module_canvas.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/canvas/Module_canvas.mk b/canvas/Module_canvas.mk
index 28f421f174b1..f62d7ef46299 100644
--- a/canvas/Module_canvas.mk
+++ b/canvas/Module_canvas.mk
@@ -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)