diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2014-05-15 16:19:55 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2014-05-15 16:19:55 +0200 |
commit | 09432ee848ff28d470cfc43d54f84fca2073c1fc (patch) | |
tree | c900d3c36cafc4ffa299bf8466601c4f619d9868 /src/power | |
parent | 85a373f1a64a7b63f291fe9df9aabd89dd2835a9 (diff) | |
download | openlmi-providers-09432ee848ff28d470cfc43d54f84fca2073c1fc.tar.gz openlmi-providers-09432ee848ff28d470cfc43d54f84fca2073c1fc.tar.xz openlmi-providers-09432ee848ff28d470cfc43d54f84fca2073c1fc.zip |
Include profile (un)registration in the (un)register-PROVIDER make targets
This is an attempt to include profile (un)registration within the
(un)register-PROVIDER make target. This commit extends the cim_registration
macro by an extra argument of the profile file or list of profile files.
To preserve API of the CMake modules this extra argument is an variable arg
in fact and does not need to be specified. Pass a list variable to specify
multiple profile files.
Diffstat (limited to 'src/power')
-rw-r--r-- | src/power/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/power/CMakeLists.txt b/src/power/CMakeLists.txt index 44b2109..05d5bbf 100644 --- a/src/power/CMakeLists.txt +++ b/src/power/CMakeLists.txt @@ -46,7 +46,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR} ${GLIB_INCLU target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} ${GLIB_LIBRARIES}) # Create registration file -cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) +cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers "${TARGET_MOF}") install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) install(PROGRAMS ${POWERMANAGEMENT_SCRIPT} DESTINATION libexec/pegasus) |