summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2012-08-29 13:53:35 +0200
committerRadek Novacek <rnovacek@redhat.com>2012-08-29 13:58:39 +0200
commitf9d8c237252e04c0f978b35291651d4f5fb392bb (patch)
treeaa77f25639ec9463f129a400f2a7bbfb533166f9 /src
parent7757c0018d8dbaeec3194958b3029d69120ac465 (diff)
downloadopenlmi-providers-f9d8c237252e04c0f978b35291651d4f5fb392bb.tar.gz
openlmi-providers-f9d8c237252e04c0f978b35291651d4f5fb392bb.tar.xz
openlmi-providers-f9d8c237252e04c0f978b35291651d4f5fb392bb.zip
Make destination of .reg adjustable in CuraMacros0.0.3
If CuraMacros are used by different provider it needs to change location where the .reg is installed.
Diffstat (limited to 'src')
-rw-r--r--src/account/CMakeLists.txt2
-rw-r--r--src/fan/CMakeLists.txt2
-rw-r--r--src/power/CMakeLists.txt2
-rw-r--r--src/service/CMakeLists.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/account/CMakeLists.txt b/src/account/CMakeLists.txt
index 8d69a93..ecb0945 100644
--- a/src/account/CMakeLists.txt
+++ b/src/account/CMakeLists.txt
@@ -32,7 +32,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR} ${LIBUSER_IN
target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES} ${LIBUSER_LIBRARIES})
# Create registration file
-cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF})
+cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/cura-providers)
install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
diff --git a/src/fan/CMakeLists.txt b/src/fan/CMakeLists.txt
index 6e9ab97..16c6e18 100644
--- a/src/fan/CMakeLists.txt
+++ b/src/fan/CMakeLists.txt
@@ -24,7 +24,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR})
target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES} sensors)
# Create registration file
-cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF})
+cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/cura-providers)
install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
diff --git a/src/power/CMakeLists.txt b/src/power/CMakeLists.txt
index a577af9..7b1ddc0 100644
--- a/src/power/CMakeLists.txt
+++ b/src/power/CMakeLists.txt
@@ -40,7 +40,7 @@ if (${SYSTEMCTL_FOUND})
endif (${SYSTEMCTL_FOUND})
# Create registration file
-cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF})
+cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/cura-providers)
install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/)
diff --git a/src/service/CMakeLists.txt b/src/service/CMakeLists.txt
index 2997213..46c3e71 100644
--- a/src/service/CMakeLists.txt
+++ b/src/service/CMakeLists.txt
@@ -22,7 +22,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR})
target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES})
# Create registration file
-cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF})
+cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/cura-providers)
install(PROGRAMS util/servicedisc.sh util/serviceutil.sh DESTINATION libexec)