Skip to content
Snippets Groups Projects
Commit 135bb030 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan :coffee:
Browse files

build: install frontend-grpc-svc into usr/bin

parent 01d08bb5
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,20 @@ The xroot plugin
%systemd_post cta-frontend.service
%systemdDaemonReload
%package -n cta-frontend-grpc
Summary: CERN Tape Archive: gRPC based frontend
Group: Application/CTA
Requires: logrotate
Requires: cta-common = %{version}-%{release}
Requires: cta-lib = %{version}-%{release}
Requires: cta-lib-catalogue = %{version}-%{release}
%description -n cta-frontend-grpc
CERN Tape Archive:
gRPC based frontend
%files -n cta-frontend-grpc
%defattr(0755,root,root)
%attr(0755,root,root) %{_bindir}/frontend-grpc-svc
%package -n cta-cli
Summary: CERN Tape Archive: command line interface
Group: Application/CTA
......
......@@ -25,4 +25,6 @@ add_executable(frontend-grpc-svc FrontendGRpcSvc.cpp)
target_link_libraries(frontend-grpc-svc CtaGRpc
${PROTOBUF3_LIBRARIES} ${GRPC_GRPC++_LIBRARY}
ctascheduler ctacommon ctaobjectstore ctacatalogue)
set_property(TARGET frontend-grpc-svc APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH})
\ No newline at end of file
set_property(TARGET frontend-grpc-svc APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH})
install(TARGETS frontend-grpc-svc DESTINATION usr/bin)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment