Skip to content

Commit 2bc72fd

Browse files
author
Antoine Hoarau
authored
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 0165d7b commit 2bc72fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ target_link_libraries(${BTCPP_LIBRARY}
165165
Threads::Threads
166166
${CMAKE_DL_LIBS}
167167
$<BUILD_INTERFACE:foonathan::lexy>
168-
minitrace
168+
$<BUILD_INTERFACE:minitrace>
169169
PUBLIC
170170
${BTCPP_EXTRA_LIBRARIES}
171171
)

0 commit comments

Comments
 (0)