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 --- vcl/Executable_icontest.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vcl/Executable_icontest.mk') diff --git a/vcl/Executable_icontest.mk b/vcl/Executable_icontest.mk index 9a9a9290ee9d..58efd051b2da 100644 --- a/vcl/Executable_icontest.mk +++ b/vcl/Executable_icontest.mk @@ -11,9 +11,13 @@ $(eval $(call gb_Executable_Executable,icontest)) $(eval $(call gb_Executable_use_externals,icontest,\ boost_headers \ - glew \ glm_headers \ )) +ifeq ($(ENABLE_OPENGL),TRUE) +$(eval $(call gb_Executable_use_externals,icontest,\ + glew \ +)) +endif $(eval $(call gb_Executable_use_api,icontest,\ offapi \ -- cgit