From 268fcafcc62e158d7cc45e7b12a56b4bf19f4263 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Nov 2026 22:43:43 +0000 Subject: [PATCH] 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 --- fairmq/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/fairmq/CMakeLists.txt b/fairmq/CMakeLists.txt index 62471acb..6a73b46a 100644 --- a/fairmq/CMakeLists.txt +++ b/fairmq/CMakeLists.txt @@ -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)