Make AdditionalTargetInfo.cmake
optional
Pick-to: 6.8 6.9 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>
This commit is contained in:
parent
aef789ad97
commit
2433d02856
@ -26,7 +26,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)
|
||||
endif()
|
||||
|
@ -82,7 +82,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