summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/software/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/software/CMakeLists.txt b/src/software/CMakeLists.txt
index 7b2c670..f021172 100644
--- a/src/software/CMakeLists.txt
+++ b/src/software/CMakeLists.txt
@@ -1,4 +1,4 @@
-SET(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_Software_Profiler.mof")
+SET(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_Software_Profile.mof")
SET(SKEL_MOF "90_LMI_Software_Profile.mof.skel")
SET(INSTANCE_SKEL "")
@@ -6,4 +6,6 @@ file(READ "${SKEL_MOF}" INSTANCE_SKEL)
file(WRITE "${TARGET_MOF}" "")
string(REPLACE "\@VERSION\@" ${OPENLMI_VERSION} INSTANCE "${INSTANCE_SKEL}")
file(APPEND "${TARGET_MOF}" "${INSTANCE}")
-message(STATUS "Generated profile mof ${OUT_MOF}")
+message(STATUS "Generated profile mof ${TARGET_MOF}")
+
+install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/)