Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
81c2ea56
Commit
81c2ea56
authored
8 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
CMakeLists.txt of cmdline now uses Findxrootdclient.cmake
parent
aa3b2675
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/Findxrootdclient.cmake
+31
-0
31 additions, 0 deletions
cmake/Findxrootdclient.cmake
cmdline/CMakeLists.txt
+2
-2
2 additions, 2 deletions
cmdline/CMakeLists.txt
with
33 additions
and
2 deletions
cmake/Findxrootdclient.cmake
0 → 100644
+
31
−
0
View file @
81c2ea56
# - Find xrootclient
# Finds the header files of xrootd-devel by searching for XrdVersion.hh
#
# XROOTD_FOUND - true if xrootd has been found
# XROOTD_INCLUDE_DIR - location of the xrootd-devel header files
# words the header files that do not contribute to
# the xrootd ABI.
# XROOTD_XRDCL_LIB - location of the XrdCl library
# XROOTD_XRDCLIENT_LIB - location of the XrdClient library
# Be silent if XROOTD_INCLUDE_DIR is already cached
if
(
XROOTD_INCLUDE_DIR
)
set
(
XROOTD_FIND_QUIETLY TRUE
)
endif
(
XROOTD_INCLUDE_DIR
)
find_path
(
XROOTD_INCLUDE_DIR XrdVersion.hh
PATH_SUFFIXES include/xrootd
)
find_library
(
XROOTD_XRDCL_LIB XrdCl
)
find_library
(
XROOTD_XRDCLIENT_LIB XrdClient
)
message
(
STATUS
"XROOTD_INCLUDE_DIR =
${
XROOTD_INCLUDE_DIR
}
"
)
message
(
STATUS
"XROOTD_XRDCL_LIB =
${
XROOTD_XRDCL_LIB
}
"
)
message
(
STATUS
"XROOTD_XRDCLIENT_LIB =
${
XROOTD_XRDCLIENT_LIB
}
"
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
xrootd DEFAULT_MSG
XROOTD_INCLUDE_DIR
XROOTD_XRDCL_LIB
XROOTD_XRDCLIENT_LIB
)
This diff is collapsed.
Click to expand it.
cmdline/CMakeLists.txt
+
2
−
2
View file @
81c2ea56
...
...
@@ -18,8 +18,8 @@ cmake_minimum_required (VERSION 2.6)
list
(
APPEND CMAKE_MODULE_PATH
${
PROJECT_SOURCE_DIR
}
/cmake
)
find_package
(
cryptopp REQUIRED
)
find_package
(
xrootd REQUIRED
)
include_directories
(
${
XROOTD_INCLUDE_DIR
}
${
XROOTD_PRIVATE_INCLUDE_DIR
}
${
CMAKE_SOURCE_DIR
}
)
find_package
(
xrootd
client
REQUIRED
)
include_directories
(
${
XROOTD_INCLUDE_DIR
}
${
CMAKE_SOURCE_DIR
}
)
add_executable
(
cta CTACmdMain.cpp Configuration.cpp
)
target_link_libraries
(
cta
${
XROOTD_XRDCL_LIB
}
cryptopp
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment