mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
feat(cmake): add the FairMQ::FairMQ alias target to the build tree
- Projects that add FairMQ with add_subdirectory() use the same target name as projects that use the installed package Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -158,6 +158,7 @@ if(BUILD_FAIRMQ)
|
||||
${FAIRMQ_PUBLIC_HEADER_FILES} # for IDE integration
|
||||
${FAIRMQ_PRIVATE_HEADER_FILES} # for IDE integration
|
||||
)
|
||||
add_library(${PROJECT_NAME}::${target} ALIAS ${target})
|
||||
target_compile_features(${target} PUBLIC cxx_std_17)
|
||||
set_target_properties(${target} PROPERTIES LABELS coverage)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user