if (USE_WEBP AND WEBP_FOUND) add_oiio_plugin (webpinput.cpp webpoutput.cpp INCLUDE_DIRS ${WEBP_INCLUDE_DIR} LINK_LIBRARIES ${WEBP_LIBRARY} DEFINITIONS "-DUSE_WEBP=1") else () message (STATUS "WebP plugin will not be built") endif()