include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ) link_libraries ( piglitutil_${piglit_target_api} ${OPENGL_gl_LIBRARY} ) piglit_add_executable (ext_texture_array-errors errors.c) piglit_add_executable (ext_texture_array-maxlayers maxlayers.c) piglit_add_executable (ext_texture_array-compressed compressed.c) piglit_add_executable (ext_texture_array-gen-mipmap gen-mipmap.c)