include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (arb_get_texture_sub_image-cubemap cubemap.c)
piglit_add_executable (arb_get_texture_sub_image-errors errors.c)
piglit_add_executable (arb_get_texture_sub_image-get get.c)
piglit_add_executable (arb_get_texture_sub_image-getcompressed getcompressed.c)

# vim: ft=cmake:
