From 34529edaf6e10d0b9ac571e8e4b5c4dec00c1111 Mon Sep 17 00:00:00 2001 From: Antoine Hoarau Date: Fri, 27 Sep 2024 08:10:52 +0200 Subject: [PATCH] put minitrace in the build_interface link library 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} )