include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (arb_direct_state_access-bind-texture-unit bind-texture-unit.c)
piglit_add_executable (arb_direct_state_access-compressedtextureimage compressedtextureimage.c)
piglit_add_executable (arb_direct_state_access-copytexturesubimage copytexturesubimage.c dsa-utils.c)
piglit_add_executable (arb_direct_state_access-create-programpipelines create-programpipelines.c)
piglit_add_executable (arb_direct_state_access-create-queries create-queries.c)
piglit_add_executable (arb_direct_state_access-create-renderbuffers create-renderbuffers.c)
piglit_add_executable (arb_direct_state_access-create-samplers create-samplers.c)
piglit_add_executable (arb_direct_state_access-create-textures create-textures.c)
piglit_add_executable (arb_direct_state_access-create-transformfeedbacks create-transformfeedbacks.c)
piglit_add_executable (arb_direct_state_access-dsa-textures dsa-textures.c dsa-utils.c)
piglit_add_executable (arb_direct_state_access-generatetexturemipmap generatetexturemipmap.c dsa-utils.c)
piglit_add_executable (arb_direct_state_access-getcompressedtextureimage getcompressedtextureimage.c dsa-utils.c)
piglit_add_executable (arb_direct_state_access-gettextureimage-formats gettextureimage-formats.c dsa-utils.c)
piglit_add_executable (arb_direct_state_access-gettextureimage-luminance gettextureimage-luminance.c)
piglit_add_executable (arb_direct_state_access-gettextureimage-targets gettextureimage-targets.c)
piglit_add_executable (arb_direct_state_access-get-textures get-textures.c)
piglit_add_executable (arb_direct_state_access-gettransformfeedback gettransformfeedback.c)
piglit_add_executable (arb_direct_state_access-namedrenderbuffer namedrenderbuffer.c)
piglit_add_executable (arb_direct_state_access-texture-buffer texture-buffer.c)
piglit_add_executable (arb_direct_state_access-texture-params texture-params.c)
piglit_add_executable (arb_direct_state_access-texture-storage texture-storage.c dsa-utils.c)
piglit_add_executable (arb_direct_state_access-texture-storage-multisample texture-storage-multisample.c)
piglit_add_executable (arb_direct_state_access-texturesubimage texturesubimage.c dsa-utils.c)
piglit_add_executable (arb_direct_state_access-texunits texunits.c)
piglit_add_executable (arb_direct_state_access-transformfeedback-bufferbase transformfeedback-bufferbase.c)
piglit_add_executable (arb_direct_state_access-transformfeedback-bufferrange transformfeedback-bufferrange.c)
piglit_add_executable (arb_direct_state_access-texture-errors texture-errors.c)
# vim: ft=cmake:
