[Piglit] [PATCH] arb_base_instance: Include OpenGL directories.

Vinson Lee vlee at freedesktop.org
Wed Dec 4 12:23:54 PST 2013


Fixes build errors on OpenBSD.

freeglut_std.h:122:19: error: GL/gl.h: No such file or directory
freeglut_std.h:123:20: error: GL/glu.h: No such file or directory

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 tests/spec/arb_base_instance/CMakeLists.gl.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/spec/arb_base_instance/CMakeLists.gl.txt b/tests/spec/arb_base_instance/CMakeLists.gl.txt
index 6c86b56..79de6dc 100644
--- a/tests/spec/arb_base_instance/CMakeLists.gl.txt
+++ b/tests/spec/arb_base_instance/CMakeLists.gl.txt
@@ -1,3 +1,8 @@
+include_directories (
+	${GLEXT_INCLUDE_DIR}
+	${OPENGL_INCLUDE_PATH}
+)
+
 link_libraries (
 	piglitutil_${piglit_target_api}
 	${OPENGL_gl_LIBRARY}
-- 
1.8.1.2



More information about the Piglit mailing list