Fix qtdeclarative build
There is an issue about versionless tool target not finding the regular targets, and that fails the configuration phase of qtdeclarative. Temporarily don't export the versionless targets, to get the qt5 build going. Change-Id: I5c7baff7f677f4a3f1f91b9e8082ba8a80f9cddd Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
3ecfeb3629
commit
80d86fed13
@ -1649,10 +1649,11 @@ endif()
|
||||
NAMESPACE "${QT_CMAKE_EXPORT_NAMESPACE}::"
|
||||
DESTINATION "${config_install_dir}")
|
||||
|
||||
|
||||
qt_internal_export_modern_cmake_config_targets_file(TARGETS ${QT_KNOWN_MODULE_${module_name}_TOOLS}
|
||||
EXPORT_NAME_PREFIX ${INSTALL_CMAKE_NAMESPACE}${target}
|
||||
CONFIG_INSTALL_DIR ${config_install_dir})
|
||||
# Temporarily disable creation of versionless targets for tools,
|
||||
# because it breaks qtdeclarative build.
|
||||
#qt_internal_export_modern_cmake_config_targets_file(TARGETS ${QT_KNOWN_MODULE_${module_name}_TOOLS}
|
||||
# EXPORT_NAME_PREFIX ${INSTALL_CMAKE_NAMESPACE}${target}
|
||||
# CONFIG_INSTALL_DIR ${config_install_dir})
|
||||
endfunction()
|
||||
|
||||
function(qt_internal_check_directory_or_type name dir type default result_var)
|
||||
|
Loading…
x
Reference in New Issue
Block a user