include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (nv_conditional_render-begin-while-active begin-while-active.c)
piglit_add_executable (nv_conditional_render-begin-zero begin-zero.c)
piglit_add_executable (nv_conditional_render-bitmap bitmap.c)
piglit_add_executable (nv_conditional_render-blitframebuffer blitframebuffer.c)
piglit_add_executable (nv_conditional_render-clear clear.c)
piglit_add_executable (nv_conditional_render-copypixels copypixels.c)
piglit_add_executable (nv_conditional_render-copyteximage copyteximage.c)
piglit_add_executable (nv_conditional_render-copytexsubimage copytexsubimage.c)
piglit_add_executable (nv_conditional_render-dlist dlist.c)
piglit_add_executable (nv_conditional_render-drawpixels drawpixels.c)
piglit_add_executable (nv_conditional_render-generatemipmap generatemipmap.c)
piglit_add_executable (nv_conditional_render-vertex_array vertex_array.c)
