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

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

piglit_add_executable(framebuffer-blit-levels framebuffer-blit-levels.c)
piglit_add_executable(framebuffer-blit-mipmap framebuffer-blit-mipmap.c)
piglit_add_executable(get-renderbuffer-internalformat get-renderbuffer-internalformat.c)
piglit_add_executable(arb_framebuffer_object-get-attachment-parameter-default-framebuffer get-attachment-parameter-default-framebuffer.c)
piglit_add_executable(arb_framebuffer_object-mixed-buffer-sizes mixed-buffer-sizes.c)
piglit_add_executable(arb_framebuffer_object-negative-readpixels-no-rb negative-readpixels-no-rb.c)
piglit_add_executable(same-attachment-tex2d-depth_stencil same-attachment-tex2d-depth_stencil.c)
piglit_add_executable(same-attachment-renderbuffer-depth_stencil same-attachment-renderbuffer-depth_stencil.c)
piglit_add_executable (fbo-blit-scaled-linear blit-scaled-linear.cpp)
piglit_add_executable (fbo-attachments-blit-scaled-linear attachments-blit-scaled-linear.cpp)
piglit_add_executable(fbo-drawbuffers-none fbo-drawbuffers-none.c)
piglit_add_executable(fbo-generatemipmap-versus-READ_FRAMEBUFFER GenerateMipmap-versus-READ_FRAMEBUFFER.c)
piglit_add_executable(arb_framebuffer_object-depth-stencil-blit depth-stencil-blit.c)

# vim: ft=cmake:
