summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 491c398e8d97..8df085b1c36a 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -183,6 +183,7 @@ endef
endif # SYSTEM_CPPUNIT
+ifeq ($(ENABLE_OPENGL),TRUE)
ifneq ($(SYSTEM_GLEW),)
define gb_LinkTarget__use_glew
@@ -228,6 +229,7 @@ $(call gb_ExternalProject_use_external_project,$(1),glew)
endef
endif # SYSTEM_GLEW
+endif # ENABLE_OPENGL
ifneq ($(SYSTEM_GLYPHY),)