temporarily link agains OpenGL

Change-Id: I330c9e4f0f1a1ebf0e236de9cfabdf9dc65121cf
This commit is contained in:
Markus Mohrhard
2014-04-08 05:06:03 +02:00
parent d47d8fb222
commit b5d0eb510a

View File

@@ -248,5 +248,24 @@ $(eval $(call gb_Library_add_exception_objects,chartcore,\
chart2/source/tools/WrappedPropertySet \
chart2/source/tools/XMLRangeHelper \
))
ifeq ($(strip $(OS)),WNT)
$(eval $(call gb_Library_use_system_win32_libs,chartopengl,\
opengl32 \
gdi32 \
glu32 \
))
else ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_use_system_darwin_frameworks,chartopengl,\
OpenGL \
))
else ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_libs,chartopengl,\
-ldl \
-lGL \
-lGLU \
-lX11 \
))
endif
# vim: set noet sw=4 ts=4: