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:
+1
-1
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user