include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

link_libraries (
	piglitutil_${piglit_target_api}
	${OPENGL_gl_LIBRARY}
)

piglit_add_executable (arb_draw_indirect-api-errors api-errors.c)
piglit_add_executable (arb_draw_indirect-draw-arrays draw-arrays.c)
piglit_add_executable (arb_draw_indirect-draw-arrays-compat draw-arrays-compat.c)
piglit_add_executable (arb_draw_indirect-draw-arrays-prim-restart draw-arrays-prim-restart.c)
piglit_add_executable (arb_draw_indirect-draw-elements draw-elements.c)
piglit_add_executable (arb_draw_indirect-draw-elements-compat draw-elements-compat.c)
piglit_add_executable (arb_draw_indirect-draw-arrays-base-instance draw-arrays-base-instance.c)
piglit_add_executable (arb_draw_indirect-draw-elements-base-instance draw-elements-base-instance.c)
piglit_add_executable (arb_draw_indirect-draw-elements-prim-restart draw-elements-prim-restart.c)
piglit_add_executable (arb_draw_indirect-draw-elements-prim-restart-ugly draw-elements-prim-restart-ugly.c)
piglit_add_executable (arb_draw_indirect-draw-arrays-instances draw-arrays-instances.c)
piglit_add_executable (arb_draw_indirect-transform-feedback transform-feedback.c)
piglit_add_executable (arb_draw_indirect-vertexid vertexid.c)
piglit_add_executable (arb_draw_indirect-draw-arrays-shared-binding draw-arrays-shared-binding.c)

# vim: ft=cmake:
