Another option would be to do:
# First pass to get the list of IOs available
find_package(ITK CONFIG REQUIRED)
include(${ITK_USE_FILE})
# Create list of avaialble image formats
foreach(ImageFormat ${LIST_OF_IMAGEIO_FORMATS})
if (NOT ${ImageFormat}_image_module_name )
list(APPEND IOList ITKIO${ImageFormat})
endif()
endforeach()
find_package(ITK COMPONENTS IsotropicWavelets ${IOList} REQUIRED )
include(${ITK_USE_FILE})
I haven’t tried it, but I think it should work.