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

Brian Paul brianp at vmware.com
Thu Dec 5 07:35:48 PST 2013


On 12/04/2013 01:23 PM, Vinson Lee wrote:
> 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}
>

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the Piglit mailing list