summaryrefslogtreecommitdiff
path: root/slideshow/Library_slideshow.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-03 22:12:29 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-03 22:36:36 +0300
commite13aead8a19c65144fc254f9e3a694584ab1777c (patch)
tree10d67af40a0ee8dd5784b975fb30dca58a40e09d /slideshow/Library_slideshow.mk
parent1520d30268e1eebabbdf18b9a31bc783ab51d03c (diff)
Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusion
ENABLE_OPENGL means whether to enable the OpenGL slideshow transition code. It does not mean whether to enable use of OpenGL in general. So rename it to ENABLE_OPENGL_TRANSITIONS while at it. ENABLE_HEADLESS means whether to disable use of X11 and OpenGL on X11 (and Wayland) platforms, I think, meaning Linux and maybe Solaris and the BSDs. Maybe it should be renamed to DISABLE_X11_AND_OPENGL. Change-Id: Ibb30f51646b1bcc477fe691a3fa38c7a1e3944ae
Diffstat (limited to 'slideshow/Library_slideshow.mk')
-rw-r--r--slideshow/Library_slideshow.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/Library_slideshow.mk b/slideshow/Library_slideshow.mk
index 3834dfdc4efe..3a9aac6ad245 100644
--- a/slideshow/Library_slideshow.mk
+++ b/slideshow/Library_slideshow.mk
@@ -29,7 +29,7 @@ $(eval $(call gb_Library_set_precompiled_header,slideshow,$(SRCDIR)/slideshow/in
$(eval $(call gb_Library_use_externals,slideshow,\
boost_headers \
))
-ifeq ($(ENABLE_OPENGL),TRUE)
+ifeq ($(ENABLE_HEADLESS),)
$(eval $(call gb_Library_use_externals,slideshow,\
glew \
))