summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mof/CMakeLists.txt5
-rw-r--r--src/service/CMakeLists.txt2
2 files changed, 6 insertions, 1 deletions
diff --git a/mof/CMakeLists.txt b/mof/CMakeLists.txt
index f367434..0c020a1 100644
--- a/mof/CMakeLists.txt
+++ b/mof/CMakeLists.txt
@@ -13,6 +13,11 @@ if (WITH-SERVICE)
install(FILES 60_LMI_Service.mof DESTINATION share/openlmi-providers/)
endif (WITH-SERVICE)
+if (WITH-SERVICE-LEGACY)
+ install(FILES 60_LMI_Service-legacy.mof DESTINATION share/openlmi-providers
+ RENAME 60_LMI_Service.mof)
+endif (WITH-SERVICE-LEGACY)
+
if (WITH-ACCOUNT)
install(FILES 60_LMI_Account.mof DESTINATION share/openlmi-providers/)
endif (WITH-ACCOUNT)
diff --git a/src/service/CMakeLists.txt b/src/service/CMakeLists.txt
index 6d75d38..92e94dc 100644
--- a/src/service/CMakeLists.txt
+++ b/src/service/CMakeLists.txt
@@ -24,7 +24,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR})
target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES})
# Create registration file
-cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers)
+cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} "60_LMI_Service.mof" share/openlmi-providers)
set(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_Service_Profile.mof")
profile_mof_generate("90_LMI_Service_Profile.mof.skel" "${TARGET_MOF}" "LMI_Service")