From 0998343abd3b5a2b1d49d906fab13d2adc35e30a Mon Sep 17 00:00:00 2001 From: Jeremy Newton Date: Fri, 30 Jun 2023 12:18:05 -0400 Subject: [PATCH] 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 [ROCm/rocm_smi_lib commit: 4f481dd7f35c433258c312dc922f1d4c95bb3911] --- projects/rocm-smi-lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocm-smi-lib/CMakeLists.txt b/projects/rocm-smi-lib/CMakeLists.txt index e97bdbae08..a535f72510 100755 --- a/projects/rocm-smi-lib/CMakeLists.txt +++ b/projects/rocm-smi-lib/CMakeLists.txt @@ -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 )