From 622e3a06bfd3d1e15df6b7906f2b49b34c5fd453 Mon Sep 17 00:00:00 2001 From: Antoine Hoarau Date: Fri, 1 Nov 2024 08:42:04 +0100 Subject: [PATCH] put minitrace in the build_interface link library (#874) fixes the cmake export set when building behavior tree on standard cmake: CMake Error: install(EXPORT "behaviortree_cppTargets" ...) includes target "behaviortree_cpp" which requires target "minitrace" that is not in any export set. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b6d1ebaa..d9ae44a13 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,7 +166,7 @@ target_link_libraries(${BTCPP_LIBRARY} Threads::Threads ${CMAKE_DL_LIBS} $ - minitrace + $ PUBLIC ${BTCPP_EXTRA_LIBRARIES} )