From 2bc72fdbf67bae7a4561cc0cea50b723d5acb672 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 16993735a..722e102b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,7 +165,7 @@ target_link_libraries(${BTCPP_LIBRARY} Threads::Threads ${CMAKE_DL_LIBS} $ - minitrace + $ PUBLIC ${BTCPP_EXTRA_LIBRARIES} )