@PACKAGE_INIT@

set(MARBLE_NO_WEBKITWIDGETS @MARBLE_NO_WEBKITWIDGETS@)

include(CMakeFindDependencyMacro OPTIONAL RESULT_VARIABLE _CMakeFindDependencyMacro_FOUND)

if (_CMakeFindDependencyMacro_FOUND)
    find_dependency(Qt5Xml @REQUIRED_QT_VERSION@)
    find_dependency(Qt5Widgets @REQUIRED_QT_VERSION@)
    if (NOT MARBLE_NO_WEBKITWIDGETS)
        find_dependency(Qt5WebEngine @REQUIRED_QT_VERSION@)
        find_dependency(Qt5WebEngineWidgets @REQUIRED_QT_VERSION@)
    endif()
else()
    find_package(Qt5Xml REQUIRED)
    find_package(Qt5Widgets REQUIRED)
    if (NOT MARBLE_NO_WEBKITWIDGETS)
        find_package(Qt5WebEngine REQUIRED)
        find_package(Qt5WebEngineWidgets REQUIRED)
    endif()
endif()

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