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/amdsmi commit: 4f481dd7f3]
Esse commit está contido em:
Jeremy Newton
2023-06-30 12:18:05 -04:00
commit 9381fe711c
+1 -1
Ver Arquivo
@@ -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
)