Change rocprofiler-sdk CMake compatibility to AnyNewerVersion (#1632)
* Change rocprofiler-sdk CMake compatibility to AnyNewerVersion Update CMake package version compatibility from SameMinorVersion to AnyNewerVersion to allow downstream packages (like RDC) to use newer versions of rocprofiler-sdk without requiring exact minor version match. This fixes compatibility issues where RDC requests 1.0.0 but finds 1.1.0. * Update projects/rocprofiler-sdk/cmake/rocprofiler_config_install.cmake Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Change rocpd and roctx CMake compatibility to SameMajorVersion Update COMPATIBILITY setting from SameMinorVersion to SameMajorVersion for both rocpd and roctx packages to allow compatibility across major version boundaries. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Dieser Commit ist enthalten in:
committet von
GitHub
Ursprung
87e61f514c
Commit
65c048e918
@@ -93,7 +93,7 @@ configure_package_config_file(
|
||||
write_basic_package_version_file(
|
||||
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/${PACKAGE_NAME}/${PACKAGE_NAME}-config-version.cmake
|
||||
VERSION ${PROJECT_VERSION}
|
||||
COMPATIBILITY SameMinorVersion)
|
||||
COMPATIBILITY SameMajorVersion)
|
||||
|
||||
configure_file(
|
||||
${PROJECT_SOURCE_DIR}/cmake/rocprofiler_config_nolink_target.cmake
|
||||
|
||||
@@ -39,7 +39,7 @@ configure_package_config_file(
|
||||
write_basic_package_version_file(
|
||||
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/${PACKAGE_NAME}/${PACKAGE_NAME}-config-version.cmake
|
||||
VERSION ${PROJECT_VERSION}
|
||||
COMPATIBILITY SameMinorVersion)
|
||||
COMPATIBILITY SameMajorVersion)
|
||||
|
||||
install(
|
||||
FILES
|
||||
|
||||
@@ -39,7 +39,7 @@ configure_package_config_file(
|
||||
write_basic_package_version_file(
|
||||
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/${PACKAGE_NAME}/${PACKAGE_NAME}-config-version.cmake
|
||||
VERSION ${PROJECT_VERSION}
|
||||
COMPATIBILITY SameMinorVersion)
|
||||
COMPATIBILITY SameMajorVersion)
|
||||
|
||||
install(
|
||||
FILES
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren