summaryrefslogtreecommitdiff
path: root/toolkit/Library_tk.mk
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/Library_tk.mk')
-rw-r--r--toolkit/Library_tk.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolkit/Library_tk.mk b/toolkit/Library_tk.mk
index 1136e2e65896..ecb376eb54c2 100644
--- a/toolkit/Library_tk.mk
+++ b/toolkit/Library_tk.mk
@@ -23,9 +23,13 @@ $(eval $(call gb_Library_set_componentfile,tk,toolkit/util/tk))
$(eval $(call gb_Library_use_externals,tk,\
boost_headers \
- glew \
))
+ifeq ($(ENABLE_OPENGL),TRUE)
+$(eval $(call gb_Library_use_externals,tk,\
+ glew \
+))
+endif
$(eval $(call gb_Library_set_include,tk,\
$$(INCLUDE) \
-I$(SRCDIR)/toolkit/inc \