include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (arb_internalformat_query2-api-errors api-errors.c)
piglit_add_executable (arb_internalformat_query2-generic-pname-checks generic-pname-checks.c common.c)
piglit_add_executable (arb_internalformat_query2-samples-pnames samples-pnames.c common.c)
piglit_add_executable (arb_internalformat_query2-internalformat-size-checks internalformat-size-checks.c common.c)
piglit_add_executable (arb_internalformat_query2-internalformat-type-checks internalformat-type-checks.c common.c)
piglit_add_executable (arb_internalformat_query2-image-format-compatibility-type image-format-compatibility-type.c common.c)
piglit_add_executable (arb_internalformat_query2-max-dimensions max-dimensions.c common.c)
piglit_add_executable (arb_internalformat_query2-color-encoding color-encoding.c common.c)
piglit_add_executable (arb_internalformat_query2-texture-compressed-block texture-compressed-block.c common.c)
piglit_add_executable (arb_internalformat_query2-minmax minmax.c common.c)
piglit_add_executable (arb_internalformat_query2-image-texture image-texture.c common.c)
piglit_add_executable (arb_internalformat_query2-filter filter.c common.c)
piglit_add_executable (arb_internalformat_query2-format-components format-components.c common.c)

# vim: ft=cmake:
