summaryrefslogtreecommitdiffstats
path: root/cmake/QtPluginConfig.cmake.in
blob: ab812abcf21c1e9efd8d5aebfe4128cc90f2ab2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

get_filename_component(_import_prefix "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_import_prefix "${_import_prefix}" REALPATH)

if (NOT QT_NO_CREATE_TARGETS)
    # Find required dependencies, if any.
    if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/@target@Dependencies.cmake")
        include("${CMAKE_CURRENT_LIST_DIR}/@target@Dependencies.cmake")
    endif()

    include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@Targets.cmake")
endif()