Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
maxt@ihep.ac.cn
CEPCSW
Commits
9fcf55cb
Commit
9fcf55cb
authored
10 months ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
Use the internal ckf by default.
parent
e2e38312
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmake/CEPCSWDependencies.cmake
+8
-1
8 additions, 1 deletion
cmake/CEPCSWDependencies.cmake
cmake/CEPCSWOptions.cmake
+2
-17
2 additions, 17 deletions
cmake/CEPCSWOptions.cmake
cmake/internal_ckf.cmake
+10
-0
10 additions, 0 deletions
cmake/internal_ckf.cmake
with
20 additions
and
18 deletions
cmake/CEPCSWDependencies.cmake
+
8
−
1
View file @
9fcf55cb
...
@@ -36,4 +36,11 @@ find_package(PandoraSDK REQUIRED)
...
@@ -36,4 +36,11 @@ find_package(PandoraSDK REQUIRED)
find_package
(
podio REQUIRED
)
find_package
(
podio REQUIRED
)
find_package
(
ROOT COMPONENTS EG Graf Graf3d Gpad MathCore Net RIO Tree TreePlayer REQUIRED
)
find_package
(
ROOT COMPONENTS EG Graf Graf3d Gpad MathCore Net RIO Tree TreePlayer REQUIRED
)
find_package
(
GenFit
)
find_package
(
GenFit
)
find_package
(
BelleIICKF
)
if
(
CEPCSW_USE_SYSTEM_CKF_BELLE
)
message
(
"Try to use an existing installation of CKF BELLE"
)
find_package
(
BelleIICKF
)
else
()
message
(
"Try to use an internal installation of CKF BELLE"
)
include
(
"
${
CMAKE_CURRENT_LIST_DIR
}
/internal_ckf.cmake"
)
endif
()
This diff is collapsed.
Click to expand it.
cmake/CEPCSWOptions.cmake
+
2
−
17
View file @
9fcf55cb
...
@@ -5,21 +5,6 @@
...
@@ -5,21 +5,6 @@
##############################################################################
##############################################################################
option
(
CEPCSW_USE_SYSTEM_CKF_BELLE
option
(
CEPCSW_USE_SYSTEM_CKF_BELLE
"Use the existing installation of CKF BELLE"
"Use the existing installation of CKF BELLE
. Otherwise the internal version will be used.
"
TRU
E
)
FALS
E
)
if
(
CEPCSW_USE_SYSTEM_CKF_BELLE
)
message
(
"Try to use an existing installation of CKF BELLE"
)
else
()
message
(
"Try to use an internal installation of CKF BELLE"
)
include
(
FetchContent
)
FetchContent_Declare
(
ckf_belle
GIT_REPOSITORY https://code.ihep.ac.cn/cepc/externals/ckf_belle.git
GIT_TAG 11624a552a9d2382bba3ce9ed9b0cf2d05a89b6e
)
FetchContent_MakeAvailable
(
ckf_belle
)
endif
()
This diff is collapsed.
Click to expand it.
cmake/internal_ckf.cmake
0 → 100644
+
10
−
0
View file @
9fcf55cb
include
(
FetchContent
)
FetchContent_Declare
(
ckf_belle
GIT_REPOSITORY https://code.ihep.ac.cn/cepc/externals/ckf_belle.git
GIT_TAG 72707998dfc4f7dbe4a91f995d03649cb217474d
)
FetchContent_MakeAvailable
(
ckf_belle
)
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