From f9d8c237252e04c0f978b35291651d4f5fb392bb Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Wed, 29 Aug 2012 13:53:35 +0200 Subject: Make destination of .reg adjustable in CuraMacros If CuraMacros are used by different provider it needs to change location where the .reg is installed. --- src/account/CMakeLists.txt | 2 +- src/fan/CMakeLists.txt | 2 +- src/power/CMakeLists.txt | 2 +- src/service/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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) -- cgit