
include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${piglit_SOURCE_DIR}/tests/mesa/util
)

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

piglit_add_executable (crash-cubemap-order crash-cubemap-order.c)
piglit_add_executable (crash-texparameter-before-teximage crash-texparameter-before-teximage.c)
piglit_add_executable (drawbuffer-modes drawbuffer-modes.c)
piglit_add_executable (fdo10370 fdo10370.c)
piglit_add_executable (fdo14575 fdo14575.c)
piglit_add_executable (r300-readcache r300-readcache.c)
piglit_add_executable (tex1d-2dborder tex1d-2dborder.c)
piglit_add_executable (fdo20701 fdo20701.c)
piglit_add_executable (point-sprite point-sprite.c)
piglit_add_executable (fdo22540 fdo22540.c)
piglit_add_executable (fdo23489 fdo23489.c)
piglit_add_executable (fdo23670-depth_test fdo23670-depth_test.c)
piglit_add_executable (fdo23670-drawpix_stencil fdo23670-drawpix_stencil.c)
piglit_add_executable (fdo24066 fdo24066.c)
piglit_add_executable (fdo25614-genmipmap fdo25614-genmipmap.c)
piglit_add_executable (fdo28551 fdo28551.c)
piglit_add_executable (fdo31934 fdo31934.c)
piglit_add_executable (tri-tex-crash tri-tex-crash.c)
piglit_add_executable (vbo-buffer-unmap vbo-buffer-unmap.c)

# vim: ft=cmake:
