Make AdditionalTargetInfo.cmake
optional
Change-Id: I8b8d6383b6c50e9403bc90e76d4da8eb6c314854 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 2433d02856bb55150d62d84b71b7d8a90c0ce81f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 1fa408f328268776b7b6b0a659eedf3dd7f11953)
This commit is contained in:
parent
09fe70a5b6
commit
2830add722
@ -29,7 +29,8 @@ endif()
|
||||
|
||||
if (NOT QT_NO_CREATE_TARGETS AND @INSTALL_CMAKE_NAMESPACE@@target@_FOUND)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@Targets.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@AdditionalTargetInfo.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@AdditionalTargetInfo.cmake"
|
||||
OPTIONAL)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@ExtraProperties.cmake"
|
||||
OPTIONAL)
|
||||
|
||||
|
@ -81,7 +81,6 @@ endfunction()
|
||||
# Options:
|
||||
# NO_ADDITIONAL_TARGET_INFO
|
||||
# Don't generate a Qt6*AdditionalTargetInfo.cmake file.
|
||||
# The caller is responsible for creating one.
|
||||
#
|
||||
# MODULE_INTERFACE_NAME
|
||||
# The custom name of the module interface. This name is used as a part of the include paths
|
||||
|
Loading…
x
Reference in New Issue
Block a user