include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ) link_libraries ( piglitutil_${piglit_target_api} ${OPENGL_gl_LIBRARY} ) piglit_add_executable (nv_viewport_swizzle-errors_gles3 errors.c)