mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
refactor(cmake): remove the Boost::boost fallback
- Boost::headers exists in every supported FindBoost and BoostConfig - The else branch could never run Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -77,11 +77,7 @@ if(PROJECT_PACKAGE_DEPENDENCIES)
|
||||
set(FairLogger_PREFIX ${FairLogger_ROOT})
|
||||
endif()
|
||||
elseif(${dep} STREQUAL Boost)
|
||||
if(TARGET Boost::headers)
|
||||
get_target_property(boost_include Boost::headers INTERFACE_INCLUDE_DIRECTORIES)
|
||||
else()
|
||||
get_target_property(boost_include Boost::boost INTERFACE_INCLUDE_DIRECTORIES)
|
||||
endif()
|
||||
get_target_property(boost_include Boost::headers INTERFACE_INCLUDE_DIRECTORIES)
|
||||
get_filename_component(Boost_PREFIX ${boost_include}/.. ABSOLUTE)
|
||||
unset(boost_include)
|
||||
elseif(NOT ${dep}_PREFIX)
|
||||
|
||||
Reference in New Issue
Block a user