include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	)

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

piglit_add_executable(arb_viewport_array-clear clear.c)
piglit_add_executable(arb_viewport_array-viewport-indices viewport_indices.c)
piglit_add_executable(arb_viewport_array-depthrange-indices depth_range_indices.c)
piglit_add_executable(arb_viewport_array-dlist dlist.c)
piglit_add_executable(arb_viewport_array-scissor-check scissor_check.c)
piglit_add_executable(arb_viewport_array-scissor-indices scissor_indices.c)
piglit_add_executable(arb_viewport_array-bounds bounds.c)
piglit_add_executable(arb_viewport_array-queries queries.c)
piglit_add_executable(arb_viewport_array-minmax minmax.c)
piglit_add_executable(arb_viewport_array-render-viewport render_viewport.c)
piglit_add_executable(arb_viewport_array-render-viewport-2 render_viewport_2.c)
piglit_add_executable(arb_viewport_array-render-depthrange render_depthrange.c)
piglit_add_executable(arb_viewport_array-render-scissor render_scissor.c)

# vim: ft=cmake:
