diff options
author | Jan Safranek <jsafrane@redhat.com> | 2013-07-26 13:16:49 +0200 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2013-07-26 13:16:49 +0200 |
commit | eddd9e5d1b97be919e7cad7a62bc7316898f4a68 (patch) | |
tree | 49df652c71ef42c27ab387451f244b6ae1720dbe /src/fan/CMakeLists.txt | |
parent | 303c42d5a19cdbfa833ccb07babed3404c140d01 (diff) | |
download | openlmi-providers-eddd9e5d1b97be919e7cad7a62bc7316898f4a68.tar.gz openlmi-providers-eddd9e5d1b97be919e7cad7a62bc7316898f4a68.tar.xz openlmi-providers-eddd9e5d1b97be919e7cad7a62bc7316898f4a68.zip |
Register profile for LMI_Fan provider
Diffstat (limited to 'src/fan/CMakeLists.txt')
-rw-r--r-- | src/fan/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fan/CMakeLists.txt b/src/fan/CMakeLists.txt index a5324f7..0028997 100644 --- a/src/fan/CMakeLists.txt +++ b/src/fan/CMakeLists.txt @@ -26,6 +26,8 @@ target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} sen # Create registration file cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) +set(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_Fan_Profile.mof") +profile_mof_generate("90_LMI_Fan_Profile.mof.skel" "${TARGET_MOF}" "${CIM_CLASSES}") install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) - +install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/) |