2024-02-20 08:45:50 +00:00
|
|
|
# Copyright (C) 2024 The Qt Company Ltd.
|
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
2020-02-11 14:38:47 +00:00
|
|
|
@PACKAGE_INIT@
|
|
|
|
|
2020-11-30 07:46:49 +00:00
|
|
|
cmake_minimum_required(VERSION @min_new_policy_version@...@max_new_policy_version@)
|
|
|
|
|
2020-02-11 14:38:47 +00:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
|
|
|
|
# Extra cmake code begin
|
|
|
|
@extra_cmake_code@
|
|
|
|
# Extra cmake code end
|
|
|
|
|
|
|
|
# Find required dependencies, if any.
|
|
|
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@Dependencies.cmake")
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@Dependencies.cmake")
|
|
|
|
endif()
|
|
|
|
|
2025-03-05 10:27:25 +00:00
|
|
|
# Do the checks inside Targets.cmake even when the file is still being generated
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@TargetsPrecheck.cmake")
|
|
|
|
|
|
|
|
if(NOT __qt_@target@_skip_include_targets_file)
|
2020-02-11 14:38:47 +00:00
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@Targets.cmake")
|
2020-09-22 20:16:20 +00:00
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@AdditionalTargetInfo.cmake")
|
2020-02-11 14:38:47 +00:00
|
|
|
if(NOT QT_NO_CREATE_VERSIONLESS_TARGETS)
|
2024-01-24 15:12:19 +00:00
|
|
|
if(CMAKE_VERSION VERSION_LESS 3.18 OR QT_USE_OLD_VERSION_LESS_TARGETS)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@VersionlessTargets.cmake")
|
|
|
|
else()
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@VersionlessAliasTargets.cmake")
|
|
|
|
endif()
|
2020-02-11 14:38:47 +00:00
|
|
|
endif()
|
2025-03-05 10:27:25 +00:00
|
|
|
set(__qt_@target@_targets_file_included ON)
|
2020-02-11 14:38:47 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
foreach(extra_cmake_include @extra_cmake_includes@)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/${extra_cmake_include}")
|
|
|
|
endforeach()
|