Skip to content
Snippets Groups Projects
Commit 9fcf55cb authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

Use the internal ckf by default.

parent e2e38312
No related branches found
No related tags found
No related merge requests found
...@@ -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()
...@@ -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."
TRUE) FALSE)
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()
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)
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