mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-29 23:45:50 +08:00
30 lines
1.1 KiB
CMake
30 lines
1.1 KiB
CMake
|
include_guard(DIRECTORY)
|
||
|
|
||
|
if(DEFINED QT_REPO_DEPENDENCIES AND NOT QT_BUILD_STANDALONE_TESTS)
|
||
|
# We're building a Qt repository.
|
||
|
# Skip this plugin if it has not been provided by one of this repo's dependencies.
|
||
|
string(TOLOWER "@PROJECT_NAME@" lower_case_project_name)
|
||
|
if(NOT lower_case_project_name IN_LIST QT_REPO_DEPENDENCIES)
|
||
|
return()
|
||
|
endif()
|
||
|
endif()
|
||
|
|
||
|
@PACKAGE_INIT@
|
||
|
|
||
|
cmake_minimum_required(VERSION @min_new_policy_version@...@max_new_policy_version@)
|
||
|
|
||
|
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}/@INSTALL_CMAKE_NAMESPACE@@target@Dependencies.cmake")
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@Dependencies.cmake")
|
||
|
endif()
|
||
|
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@Targets.cmake")
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@AdditionalTargetInfo.cmake")
|
||
|
endif()
|