summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2012-08-02 11:22:23 +0200
committerRadek Novacek <rnovacek@redhat.com>2012-08-02 11:23:37 +0200
commit97a06662a7d51d0a9beaa73a47b2c5dd437b13be (patch)
tree7fb703b98e71eb009e865a6be0a10b840bb2c1fd
parent4308f84c3166623fd592558b2ce31be20c3606ca (diff)
downloadopenlmi-providers-97a06662a7d51d0a9beaa73a47b2c5dd437b13be.tar.gz
openlmi-providers-97a06662a7d51d0a9beaa73a47b2c5dd437b13be.tar.xz
openlmi-providers-97a06662a7d51d0a9beaa73a47b2c5dd437b13be.zip
Use Cura_ prefix for registration files
-rw-r--r--cmake/modules/CuraMacros.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/CuraMacros.cmake b/cmake/modules/CuraMacros.cmake
index aed9b54..8bbb7ae 100644
--- a/cmake/modules/CuraMacros.cmake
+++ b/cmake/modules/CuraMacros.cmake
@@ -86,12 +86,12 @@ macro(cim_registration PROVIDER_NAME LIBRARY_NAME MOF)
# Create registration out of shared library
add_custom_command(TARGET ${LIBRARY_NAME}
POST_BUILD
- COMMAND ${KONKRETCMPI_KONKRETREG} -r lib${LIBRARY_NAME}.so > ${PROVIDER_NAME}.registration
+ COMMAND ${KONKRETCMPI_KONKRETREG} -r lib${LIBRARY_NAME}.so > Cura_${PROVIDER_NAME}.registration
COMMENT "Generating .reg file from library for ${PROVIDER_NAME}"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
# Install it
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROVIDER_NAME}.registration DESTINATION share/cura-providers/)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Cura_${PROVIDER_NAME}.registration DESTINATION share/cura-providers/)
# Add custom target for registration
find_file(MOF_FILE
@@ -99,5 +99,5 @@ macro(cim_registration PROVIDER_NAME LIBRARY_NAME MOF)
PATHS ${CMAKE_SOURCE_DIR}/mof/
)
add_custom_target(register-${PROVIDER_NAME}
- ${CMAKE_SOURCE_DIR}/register.sh ${MOF_FILE} ${CMAKE_CURRENT_BINARY_DIR}/${PROVIDER_NAME}.registration)
+ ${CMAKE_SOURCE_DIR}/register.sh ${MOF_FILE} ${CMAKE_CURRENT_BINARY_DIR}/Cura_${PROVIDER_NAME}.registration)
endmacro(cim_registration)