Skip to content

Commit

Permalink
Fix CMake error when building cached_ik_kinematics_plugin with trac_i…
Browse files Browse the repository at this point in the history
…k present (backport #2421) (#2422)

(cherry picked from commit e37b956)

Co-authored-by: Sebastian Castro <4603398+sea-bass@users.noreply.github.com>
  • Loading branch information
mergify[bot] and sea-bass committed Oct 24, 2023
1 parent e638c85 commit ef20244
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ target_link_libraries(moveit_cached_ik_kinematics_plugin PRIVATE
moveit_srv_kinematics_plugin
moveit_cached_ik_kinematics_base)
if(trac_ik_kinematics_plugin_FOUND)
target_link_libraries(moveit_cached_ik_kinematics_plugin ${trac_ik_kinematics_plugin_LIBRARIES})
target_link_libraries(moveit_cached_ik_kinematics_plugin PRIVATE ${trac_ik_kinematics_plugin_LIBRARIES})
set_target_properties(moveit_cached_ik_kinematics_plugin PROPERTIES COMPILE_DEFINITIONS "CACHED_IK_KINEMATICS_TRAC_IK")
endif()

Expand Down

0 comments on commit ef20244

Please sign in to comment.