mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 21:21:37 +00:00
build(tidy): drop dependencies the tool does not use
- Require FairLogger and Boost only for BUILD_FAIRMQ; fairmq-tidy uses neither of them. - Do not require CLI11; the tool never used it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ if(BUILD_FAIRMQ)
|
|||||||
set(Threads_PREFIX "<system>")
|
set(Threads_PREFIX "<system>")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_FAIRMQ OR BUILD_TIDY_TOOL)
|
if(BUILD_FAIRMQ)
|
||||||
find_package2(PUBLIC FairLogger REQUIRED VERSION 1.6.0)
|
find_package2(PUBLIC FairLogger REQUIRED VERSION 1.6.0)
|
||||||
find_package2(PUBLIC Boost REQUIRED VERSION 1.66
|
find_package2(PUBLIC Boost REQUIRED VERSION 1.66
|
||||||
COMPONENTS container program_options filesystem date_time regex
|
COMPONENTS container program_options filesystem date_time regex
|
||||||
@@ -83,7 +83,6 @@ if(BUILD_TIDY_TOOL)
|
|||||||
find_package2(PRIVATE LLVM REQUIRED)
|
find_package2(PRIVATE LLVM REQUIRED)
|
||||||
find_package2(PRIVATE Clang REQUIRED)
|
find_package2(PRIVATE Clang REQUIRED)
|
||||||
set(Clang_VERSION ${LLVM_VERSION})
|
set(Clang_VERSION ${LLVM_VERSION})
|
||||||
find_package2(PRIVATE CLI11 REQUIRED)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package2_implicit_dependencies() # Always call last after latest find_package2
|
find_package2_implicit_dependencies() # Always call last after latest find_package2
|
||||||
|
|||||||
Reference in New Issue
Block a user