From 96c1ae1d8e78ae8b9bd7d4001645cad24d62b720 Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Wed, 23 Mar 2016 13:40:13 +0100 Subject: fix headless build disables OpenGL and glew usage, lets --without-gui do what --without-x did before and disables X related test Change-Id: I680b47c9962a0d43c8ece593db0b82e347ceebdb Reviewed-on: https://gerrit.libreoffice.org/23474 Tested-by: Jenkins Reviewed-by: Oliver Specht --- chart2/Module_chart2.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'chart2/Module_chart2.mk') diff --git a/chart2/Module_chart2.mk b/chart2/Module_chart2.mk index dedb5d713f17..3b32e1cc5c01 100644 --- a/chart2/Module_chart2.mk +++ b/chart2/Module_chart2.mk @@ -12,9 +12,13 @@ $(eval $(call gb_Module_Module,chart2)) $(eval $(call gb_Module_add_targets,chart2,\ Library_chartcontroller \ Library_chartcore \ - Library_chartopengl \ - Package_opengl \ )) +ifeq ($(ENABLE_OPENGL),TRUE) +$(eval $(call gb_Module_add_targets,chart2,\ + Library_chartopengl \ + Package_opengl \ + )) +endif $(eval $(call gb_Module_add_l10n_targets,chart2,\ AllLangResTarget_chartcontroller \ -- cgit