include(CMakeFindDependencyMacro)

if(@JASPER_FOUND@)
    find_dependency(Jasper)
endif()

if(@JPEG_FOUND@)
    find_dependency(JPEG)
endif()
if(@ZLIB_FOUND@)
    find_dependency(ZLIB)
endif()

if(@LCMS_SUPPORT_CAN_BE_COMPILED@)
    if(@LCMS2_FOUND@)
        find_dependency(LCMS2)
    elseif(@LCMS_FOUND@)
        find_dependency(LCMS)
    endif()
endif()

if(@ENABLE_RAWSPEED@)
    find_dependency(LibXml2)
    find_dependency(Threads)
endif()

if(@ENABLE_OPENMP@)
    find_dependency(OpenMP)
endif()


@PACKAGE_INIT@

include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
check_required_components("@PROJECT_NAME@")
