include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	)

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

piglit_add_executable(arb_texture_view-clear-into-view-2d-array clear-into-view-2d-array.c common.c)
piglit_add_executable(arb_texture_view-clear-into-view-2d clear-into-view-2d.c common.c)
piglit_add_executable(arb_texture_view-clear-into-view-layered clear-into-view-layered.c common.c)
piglit_add_executable(arb_texture_view-copytexsubimage-layers copytexsubimage-layers.c common.c)
piglit_add_executable(arb_texture_view-cubemap-view cubemap-view.c)
piglit_add_executable(arb_texture_view-formats formats.c common.c)
piglit_add_executable(arb_texture_view-getteximage-srgb getteximage-srgb.c)
piglit_add_executable(arb_texture_view-lifetime-format lifetime_format.c common.c)
piglit_add_executable(arb_texture_view-max-level max-level.c)
piglit_add_executable(arb_texture_view-mipgen mipgen.c)
piglit_add_executable(arb_texture_view-params params.c)
piglit_add_executable(arb_texture_view-queries queries.c)
piglit_add_executable(arb_texture_view-rendering-formats rendering-formats.c)
piglit_add_executable(arb_texture_view-rendering-layers-image rendering-layers-image.c common.c)
piglit_add_executable(arb_texture_view-rendering-layers rendering_layers.c common.c)
piglit_add_executable(arb_texture_view-rendering-levels rendering_levels.c common.c)
piglit_add_executable(arb_texture_view-rendering-r32ui rendering-r32ui.c)
piglit_add_executable(arb_texture_view-rendering-target rendering_target.c common.c)
piglit_add_executable(arb_texture_view-sampling-2d-array-as-2d-layer sampling-2d-array-as-2d-layer.c)
piglit_add_executable(arb_texture_view-sampling-2d-array-as-cubemap-array sampling-2d-array-as-cubemap-array.c)
piglit_add_executable(arb_texture_view-sampling-2d-array-as-cubemap sampling-2d-array-as-cubemap.c)
piglit_add_executable(arb_texture_view-targets targets.c common.c)
piglit_add_executable(arb_texture_view-texsubimage-layers texsubimage-layers.c common.c)
piglit_add_executable(arb_texture_view-texsubimage-levels texsubimage-levels.c common.c)
piglit_add_executable(arb_texture_view-texture-immutable-levels texture-immutable-levels.c)
piglit_add_executable(arb_texture_view-bug-layers-image bug-layers-image.c common.c)
piglit_add_executable(arb_texture_view-fbo-blit fbo-blit.c)

# vim: ft=cmake:
