summaryrefslogtreecommitdiffstats
path: root/src/account
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2014-05-15 16:19:55 +0200
committerTomas Bzatek <tbzatek@redhat.com>2014-05-15 16:19:55 +0200
commit09432ee848ff28d470cfc43d54f84fca2073c1fc (patch)
treec900d3c36cafc4ffa299bf8466601c4f619d9868 /src/account
parent85a373f1a64a7b63f291fe9df9aabd89dd2835a9 (diff)
downloadopenlmi-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/account')
-rw-r--r--src/account/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account/CMakeLists.txt b/src/account/CMakeLists.txt
index 6390ae2..9d416c9 100644
--- a/src/account/CMakeLists.txt
+++ b/src/account/CMakeLists.txt
@@ -49,7 +49,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR} ${GLIB_INCLU
target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} ${GLIB_LIBRARIES} ${LIBUSER_LIBRARIES} openlmiindmanager)
# 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 ${ACCOUNT_SCRIPT} DESTINATION libexec/pegasus)