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>
This commit is contained in:
Jeremy Newton
2023-06-30 12:18:05 -04:00
vanhempi 19c3e2aff9
commit 4f481dd7f3
+1 -1
Näytä tiedosto
@@ -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
)