Skip to content

Commit 622e3a0

Browse files
Antoine Hoaraualeksradojkovic
authored andcommitted
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.
1 parent 2a8a226 commit 622e3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ target_link_libraries(${BTCPP_LIBRARY}
166166
Threads::Threads
167167
${CMAKE_DL_LIBS}
168168
$<BUILD_INTERFACE:foonathan::lexy>
169-
minitrace
169+
$<BUILD_INTERFACE:minitrace>
170170
PUBLIC
171171
${BTCPP_EXTRA_LIBRARIES}
172172
)

0 commit comments

Comments
 (0)