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 (#2421)
  • Loading branch information
sea-bass committed Oct 10, 2023
1 parent 9418678 commit e37b956
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 e37b956

Please sign in to comment.