include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (occlusion_query occlusion_query.c)
piglit_add_executable (occlusion_query_conform occlusion_query_conform.c)
piglit_add_executable (occlusion_query_lifetime occlusion_query_lifetime.c)
piglit_add_executable (occlusion_query_meta_no_fragments occlusion_query_meta_no_fragments.c)
piglit_add_executable (occlusion_query_meta_fragments occlusion_query_meta_fragments.c)
piglit_add_executable (occlusion_query_meta_save occlusion_query_meta_save.c)
piglit_add_executable (occlusion_query_order occlusion_query_order.c)
piglit_add_executable (gen_delete_while_active gen_delete_while_active.c)
