summaryrefslogtreecommitdiffstats
path: root/cmake/QtPlugins.cmake.in
blob: e668a4cbefef418adfd7369e82c52c03b48eac00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

include_guard(DIRECTORY)
@QT_MODULE_PLUGIN_INCLUDES@

# Distributions should probably change this default.
if(NOT DEFINED QT_SKIP_AUTO_PLUGIN_INCLUSION)
    set(QT_SKIP_AUTO_PLUGIN_INCLUSION OFF)
endif()

if(NOT QT_NO_CREATE_TARGETS AND NOT QT_SKIP_AUTO_PLUGIN_INCLUSION)
    __qt_internal_include_plugin_packages(@QT_MODULE@)
endif()