if(NOT "@BUILD_SHARED_LIBS@")
    include(CMakeFindDependencyMacro)
    find_dependency(freetype CONFIG)
    find_dependency(harfbuzz CONFIG)
    find_dependency(JPEG)
    find_dependency(OpenJPEG CONFIG)
    find_dependency(unofficial-gumbo CONFIG)
    find_dependency(ZLIB)
    if("@ENABLE_OCR@")
        find_dependency(Leptonica CONFIG)
        find_dependency(Tesseract CONFIG)
    endif()
endif()
include("${CMAKE_CURRENT_LIST_DIR}/unofficial-libmupdf-targets.cmake")
