include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (primitive-restart primitive-restart.c)
piglit_add_executable (primitive-restart-draw-mode primitive-restart-draw-mode.c)
piglit_add_executable (nv_primitive_restart-dlist dlist.c)
piglit_add_executable (nv_primitive_restart-errors errors.c)
piglit_add_executable (nv_primitive_restart-no-core-profile no-core-profile.c)
