summaryrefslogtreecommitdiffstats
path: root/slideshow/Module_slideshow.mk
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/Module_slideshow.mk')
-rw-r--r--slideshow/Module_slideshow.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/slideshow/Module_slideshow.mk b/slideshow/Module_slideshow.mk
index 5d9978b09825..01d1058c16be 100644
--- a/slideshow/Module_slideshow.mk
+++ b/slideshow/Module_slideshow.mk
@@ -10,10 +10,14 @@
$(eval $(call gb_Module_Module,slideshow))
$(eval $(call gb_Module_add_targets,slideshow,\
- $(if $(filter TRUE,$(ENABLE_OPENGL)),Library_OGLTrans) \
Library_slideshow \
- Package_opengl \
))
+ifeq ($(ENABLE_OPENGL),TRUE)
+$(eval $(call gb_Module_add_targets,slideshow,\
+ Library_OGLTrans \
+ Package_opengl \
+ ))
+endif
# not working
# CppunitTest_slideshow \