Use condition from Module_chart2.mk for external glew.

I wonder what's best to use here.

Change-Id: Icf641dcf640a12832ea86782414357fa9f71829c
This commit is contained in:
Matúš Kukan
2014-04-08 11:00:38 +02:00
parent d4d28a9710
commit 81e7f75f47

View File

@@ -228,7 +228,10 @@ endef
endif # SYSTEM_CPPUNIT
ifneq ($(SYSTEM_GLEW),)
ifeq ($(filter FREEBSD LINUX MACOSX WNT,$(OS)),)
gb_LinkTarget__use_glew :=
else ifneq ($(SYSTEM_GLEW),)
define gb_LinkTarget__use_glew
$(call gb_LinkTarget_set_include,$(1),\