Skip to content

Commit

Permalink
put minitrace in the build_interface link library (#874)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ahoarau authored Nov 1, 2024
1 parent 0165d7b commit 2bc72fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ target_link_libraries(${BTCPP_LIBRARY}
Threads::Threads
${CMAKE_DL_LIBS}
$<BUILD_INTERFACE:foonathan::lexy>
minitrace
$<BUILD_INTERFACE:minitrace>
PUBLIC
${BTCPP_EXTRA_LIBRARIES}
)
Expand Down

0 comments on commit 2bc72fd

Please sign in to comment.