Actually fix version string

There seems to be a scope issue with the existing variables, but just
putting in the pkg version string seems sufficient.

Change-Id: I4ccef872ff848a70cb2abc07bf605c5f29a608e8
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>


[ROCm/rocm_smi_lib commit: 4f481dd7f3]
This commit is contained in:
Jeremy Newton
2023-06-30 12:18:05 -04:00
rodzic 4480132c6d
commit 0998343abd
+1 -1
Wyświetl plik
@@ -232,7 +232,7 @@ configure_package_config_file(
write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/rocm_smi-config-version.cmake
VERSION "${${AMD_SMI_LIBS_TARGET}_VERSION_MAJOR}.${${AMD_SMI_LIBS_TARGET}_VERSION_MINOR}.${${AMD_SMI_LIBS_TARGET}_VERSION_PATCH}"
VERSION "${PKG_VERSION_STR}"
COMPATIBILITY SameMajorVersion
)