Commit 44650698 authored by Michael Davis's avatar Michael Davis
Browse files

[upgrade-db] Adds where to find protobuf libs

And renames tool to cta-upgrade-db in line with other tools
parent 98bfc6f7
......@@ -288,7 +288,7 @@ Scripts and utilities to faciliate working with the CTA catalogue
%attr(0755,root,root) %{_bindir}/cta-catalogue-schema-drop
%attr(0755,root,root) %{_bindir}/cta-catalogue-schema-verify
%attr(0755,root,root) %{_bindir}/cta-database-poll
%attr(0755,root,root) %{_bindir}/upgrade-db
%attr(0755,root,root) %{_bindir}/cta-upgrade-db
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-admin-user-create.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-schema-create.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-schema-drop.1cta.gz
......
......@@ -19,7 +19,8 @@ cmake_minimum_required (VERSION 2.6)
include_directories(${XRD_SSI_PB_DIR}/include ${XROOTD_INCLUDE_DIR} ${XROOTD_INCLUDE_DIR}/private)
# Upgrade DB tool
add_executable(upgrade-db UpgradeDB.cpp)
target_link_libraries(upgrade-db ctacatalogue)
add_executable(cta-upgrade-db UpgradeDB.cpp)
target_link_libraries(cta-upgrade-db ctacatalogue)
set_property(TARGET cta-upgrade-db APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH})
install(TARGETS upgrade-db DESTINATION usr/bin)
install(TARGETS cta-upgrade-db DESTINATION usr/bin)
Markdown is supported
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