include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (bindfragdata-invalid-parameters bindfragdata-invalid-parameters.c)
piglit_add_executable (bindfragdata-link-error bindfragdata-link-error.c)
piglit_add_executable (bindfragdata-nonexistent-variable bindfragdata-nonexistent-variable.c)
piglit_add_executable (clearbuffer-depth clearbuffer-common.c clearbuffer-depth.c)
piglit_add_executable (clearbuffer-depth-stencil clearbuffer-common.c clearbuffer-depth-stencil.c)
piglit_add_executable (clearbuffer-display-lists clearbuffer-common.c clearbuffer-display-lists.c)
piglit_add_executable (clearbuffer-invalid-drawbuffer clearbuffer-invalid-drawbuffer.c)
piglit_add_executable (clearbuffer-invalid-buffer clearbuffer-invalid-buffer.c)
piglit_add_executable (clearbuffer-mixed-format clearbuffer-common.c clearbuffer-mixed-format.c)
piglit_add_executable (clearbuffer-stencil clearbuffer-common.c clearbuffer-stencil.c)
piglit_add_executable (genmipmap-errors genmipmap-errors.c)
piglit_add_executable (getfragdatalocation getfragdatalocation.c)
piglit_add_executable (gl-3.0-forward-compatible-bit forward-compatible-bit.c)
piglit_add_executable (integer-errors integer-errors.c)

# vim: ft=cmake:
