include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (arb_clear_buffer_object-formats formats.c common.c)
piglit_add_executable (arb_clear_buffer_object-invalid-internal-format invalid-internal-format.c)
piglit_add_executable (arb_clear_buffer_object-invalid-size invalid-size.c)
piglit_add_executable (arb_clear_buffer_object-mapped mapped.c)
piglit_add_executable (arb_clear_buffer_object-no-bound-buffer no-bound-buffer.c)
piglit_add_executable (arb_clear_buffer_object-null-data null-data.c common.c)
piglit_add_executable (arb_clear_buffer_object-sub-invalid-size sub-invalid-size.c)
piglit_add_executable (arb_clear_buffer_object-sub-mapped sub-mapped.c common.c)
piglit_add_executable (arb_clear_buffer_object-sub-overlap sub-overlap.c common.c)
piglit_add_executable (arb_clear_buffer_object-sub-simple sub-simple.c common.c)
piglit_add_executable (arb_clear_buffer_object-unaligned unaligned.c common.c)
piglit_add_executable (arb_clear_buffer_object-zero-size zero-size.c common.c)

# vim: ft=cmake:
