diff options
Diffstat (limited to 'src/service-dbus/CMakeLists.txt')
-rw-r--r-- | src/service-dbus/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/service-dbus/CMakeLists.txt b/src/service-dbus/CMakeLists.txt index 60a3d8a..02500f9 100644 --- a/src/service-dbus/CMakeLists.txt +++ b/src/service-dbus/CMakeLists.txt @@ -34,11 +34,12 @@ target_link_libraries(${LIBRARY_NAME} ${GIO_LIBRARIES}) # Create registration file -cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${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") +cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers "${TARGET_MOF}") + + install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi) install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus) install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/) |