From 16e07602babccec25e1e0dfe2d5a1bead5417530 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Mon, 5 May 2014 09:46:08 +0200 Subject: cmake: install mof for service-legacy --- mof/CMakeLists.txt | 5 +++++ src/service/CMakeLists.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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") -- cgit