summaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/OpenLMIMacros.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/OpenLMIMacros.cmake b/cmake/modules/OpenLMIMacros.cmake
index 18a265e..b61b31c 100644
--- a/cmake/modules/OpenLMIMacros.cmake
+++ b/cmake/modules/OpenLMIMacros.cmake
@@ -171,6 +171,7 @@ macro(profile_mof_generate SKEL_MOF OUT_MOF CIM_CLASSES)
file(READ "${SKEL_MOF}" INSTANCE_SKEL)
foreach(CLASS ${CIM_CLASSES})
string(REPLACE "\@CLASS\@" ${CLASS} INSTANCE "${INSTANCE_SKEL}")
+ string(REPLACE "\@VERSION\@" ${OPENLMI_VERSION} INSTANCE "${INSTANCE_SKEL}")
file(APPEND "${OUT_MOF}" "${INSTANCE}")
endforeach(CLASS ${CIM_CLASSES})
message(STATUS "Generated profile mof ${OUT_MOF}")