Make HostInfo versioned
Generate and install the HostInfoConfigVersion file for the HostInfo package. The package had no strict version compatibility as Qt modules before, so we avoid adding them here too. Pick-to: 6.8 6.5 Change-Id: Iaee43639dd87d911946c8ce72c4849f43599d08e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit fc956519963ea962b93367523a9761f07dd16be7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
fe7cb24195
commit
504ec42a0f
@ -566,7 +566,15 @@ function(qt_create_hostinfo_package)
|
||||
INSTALL_DESTINATION "${install_destination}"
|
||||
NO_SET_AND_CHECK_MACRO
|
||||
NO_CHECK_REQUIRED_COMPONENTS_MACRO)
|
||||
qt_install(FILES "${config_file_path}" DESTINATION "${install_destination}")
|
||||
|
||||
set(version_file "${QT_CONFIG_BUILD_DIR}/${package}/${package}ConfigVersion.cmake")
|
||||
write_basic_package_version_file(
|
||||
"${version_file}"
|
||||
VERSION ${PROJECT_VERSION}
|
||||
COMPATIBILITY AnyNewerVersion
|
||||
ARCH_INDEPENDENT
|
||||
)
|
||||
qt_install(FILES "${config_file_path}" "${version_file}" DESTINATION "${install_destination}")
|
||||
endfunction()
|
||||
|
||||
function(qt_generate_build_internals_extra_cmake_code)
|
||||
|
Loading…
x
Reference in New Issue
Block a user