Commit 5e285289 authored by Steven Murray's avatar Steven Murray
Browse files

Added rpath to installed objectsore tools

parent e3cd5cb6
...@@ -87,14 +87,17 @@ target_link_libraries(ctaobjectstoreunittests ...@@ -87,14 +87,17 @@ target_link_libraries(ctaobjectstoreunittests
install(TARGETS ctaobjectstoreunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR}) install(TARGETS ctaobjectstoreunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
add_executable(cta-objectstore-initialize cta-objectstore-initialize.cpp) add_executable(cta-objectstore-initialize cta-objectstore-initialize.cpp)
set_target_properties(cta-objectstore-initialize PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
target_link_libraries(cta-objectstore-initialize target_link_libraries(cta-objectstore-initialize
${PROTOBUF3_LIBRARIES} ctaobjectstore ctacommon ctautils) ${PROTOBUF3_LIBRARIES} ctaobjectstore ctacommon ctautils)
add_executable(cta-objectstore-list cta-objectstore-list.cpp) add_executable(cta-objectstore-list cta-objectstore-list.cpp)
set_target_properties(cta-objectstore-list PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
target_link_libraries(cta-objectstore-list target_link_libraries(cta-objectstore-list
${PROTOBUF3_LIBRARIES} ctaobjectstore ctacommon) ${PROTOBUF3_LIBRARIES} ctaobjectstore ctacommon)
add_executable(cta-objectstore-dump-object cta-objectstore-dump-object.cpp) add_executable(cta-objectstore-dump-object cta-objectstore-dump-object.cpp)
set_target_properties(cta-objectstore-dump-object PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
target_link_libraries(cta-objectstore-dump-object target_link_libraries(cta-objectstore-dump-object
${PROTOBUF3_LIBRARIES} ctaobjectstore ctacommon) ${PROTOBUF3_LIBRARIES} ctaobjectstore ctacommon)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment