diff options
Diffstat (limited to 'src/software-dbus/CMakeLists.txt')
-rw-r--r-- | src/software-dbus/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/software-dbus/CMakeLists.txt b/src/software-dbus/CMakeLists.txt index 5202c33..04d8508 100644 --- a/src/software-dbus/CMakeLists.txt +++ b/src/software-dbus/CMakeLists.txt @@ -32,11 +32,12 @@ target_link_libraries(${LIBRARY_NAME} ${PACKAGEKIT_LIBRARIES}) # Create registration file -cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) - set(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_${PROVIDER_NAME}_Profile.mof") profile_mof_generate("90_LMI_${PROVIDER_NAME}_Profile.mof.skel" "${TARGET_MOF}" "${CIM_CLASSES}") +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/) |