diff options
Diffstat (limited to 'mof')
-rw-r--r-- | mof/CMakeLists.txt | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/mof/CMakeLists.txt b/mof/CMakeLists.txt index cfdc181..f367434 100644 --- a/mof/CMakeLists.txt +++ b/mof/CMakeLists.txt @@ -1,6 +1,46 @@ -file(GLOB MOFS *.mof) +install(FILES 05_LMI_Qualifiers.mof 30_LMI_Jobs.mof DESTINATION share/openlmi-providers/) + +if (WITH-FAN) + install(FILES 60_LMI_Fan.mof DESTINATION share/openlmi-providers/) +endif (WITH-FAN) + +if (WITH-POWER) + install(FILES 60_LMI_PowerManagement.mof DESTINATION share/openlmi-providers/) +endif (WITH-POWER) + +if (WITH-SERVICE) + install(FILES 60_LMI_Service.mof DESTINATION share/openlmi-providers/) +endif (WITH-SERVICE) + +if (WITH-ACCOUNT) + install(FILES 60_LMI_Account.mof DESTINATION share/openlmi-providers/) +endif (WITH-ACCOUNT) + +if (WITH-HARDWARE) + install(FILES 60_LMI_Hardware.mof DESTINATION share/openlmi-providers/) +endif (WITH-HARDWARE) + +if (WITH-LOGICALFILE) + install(FILES 60_LMI_LogicalFile.mof DESTINATION share/openlmi-providers/) +endif (WITH-LOGICALFILE) + +if (WITH-REALMD) + install(FILES 60_LMI_Realmd.mof DESTINATION share/openlmi-providers/) +endif (WITH-REALMD) + +if (WITH-PCP) + install(FILES 60_LMI_PCP.mof DESTINATION share/openlmi-providers/) +endif (WITH-PCP) + +if (WITH-SOFTWARE) + install(FILES 60_LMI_Software.mof LMI_Software.reg + 60_LMI_Software_MethodParameters.mof + 70_LMI_SoftwareIndicationFilters.mof + DESTINATION share/openlmi-providers/) +endif (WITH-SOFTWARE) + +if (WITH-JOURNALD) + install(FILES 60_LMI_Journald.mof DESTINATION share/openlmi-providers/) +endif (WITH-JOURNALD) -foreach(MOF ${MOFS}) - install(FILES ${MOF} DESTINATION share/openlmi-providers/) -endforeach(MOF ${MOFS}) |