Skip to content
Snippets Groups Projects
Commit ea9a2eef authored by Steven Murray's avatar Steven Murray
Browse files

Added XROOTD_XRDSSI_LIB to cmake/Findxrootd.cmake

parent 90f7e661
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,9 @@
# words the header files that do not contribute to
# the xrootd ABI.
# XROOTD_XRDCL_LIB - location of the XrdCl library
# XROOTD_XRDPOSIX_LIB - location of the XrdPosix library
# XROOTD_XRDSERVER_LIB - location of the XrdServer library
# XROOTD_XRDUTILS_LIB - location of the XrdUtils library
# XROOTD_XRDPOSIX_LIB - location of the XrdPosix library
# Be silent if XROOTD_INCLUDE_DIR is already cached
if (XROOTD_INCLUDE_DIR)
......@@ -26,21 +26,25 @@ find_path (XROOTD_PRIVATE_INCLUDE_DIR XrdOss/XrdOssApi.hh
)
find_library (XROOTD_XRDCL_LIB XrdCl)
find_library (XROOTD_XRDPOSIX_LIB XrdPosixPreload)
find_library (XROOTD_XRDSERVER_LIB XrdServer)
find_library (XROOTD_XRDSSI_LIB NAMES XrdSsi-4 XrdSsi-5)
find_library (XROOTD_XRDUTILS_LIB XrdUtils)
find_library (XROOTD_XRDPOSIX_LIB XrdPosixPreload)
message (STATUS "XROOTD_INCLUDE_DIR = ${XROOTD_INCLUDE_DIR}")
message (STATUS "XROOTD_PRIVATE_INCLUDE_DIR = ${XROOTD_PRIVATE_INCLUDE_DIR}")
message (STATUS "XROOTD_XRDCL_LIB = ${XROOTD_XRDCL_LIB}")
message (STATUS "XROOTD_XRDSERVER_LIB = ${XROOTD_XRDSERVER_LIB}")
message (STATUS "XROOTD_XRDPOSIX_LIB = ${XROOTD_XRDPOSIX_LIB}")
message (STATUS "XROOTD_XRDSERVER_LIB = ${XROOTD_XRDSERVER_LIB}")
message (STATUS "XROOTD_XRDSSI_LIB = ${XROOTD_XRDSSI_LIB}")
message (STATUS "XROOTD_XRDUTILS_LIB = ${XROOTD_XRDUTILS_LIB}")
include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (xrootd DEFAULT_MSG
XROOTD_INCLUDE_DIR
XROOTD_PRIVATE_INCLUDE_DIR
XROOTD_XRDCL_LIB
XROOTD_XRDPOSIX_LIB
XROOTD_XRDSERVER_LIB
XROOTD_XRDUTILS_LIB
XROOTD_XRDPOSIX_LIB)
XROOTD_XRDSSI_LIB
XROOTD_XRDUTILS_LIB)
......@@ -38,7 +38,7 @@ include_directories(${CMAKE_BINARY_DIR}/eos_cta ${PROTOBUF3_INCLUDE_DIRS})
add_library(XrdSsiCta MODULE XrdSsiCtaServiceProvider.cpp XrdSsiCtaRequestProc.cpp XrdSsiCtaRequestMessage.cpp
../cmdline/CtaAdminCmdParse.cpp
GrpcClient.cpp GrpcEndpoint.cpp)
target_link_libraries(XrdSsiCta XrdSsi-4 XrdSsiLib XrdSsiPbEosCta ctascheduler ctacommon ctaobjectstore ctacatalogue
target_link_libraries(XrdSsiCta ${XROOTD_XRDSSI_LIB} XrdSsiLib XrdSsiPbEosCta ctascheduler ctacommon ctaobjectstore ctacatalogue
EosMigration ${GRPC_LIBRARY} ${GRPC_GRPC++_LIBRARY})
set_property (TARGET XrdSsiCta APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH})
if (OCCI_SUPPORT)
......
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