Skip to content

Commit

Permalink
update also the cmake file
Browse files Browse the repository at this point in the history
  • Loading branch information
efferre79 authored Jun 3, 2024
1 parent 1e82b34 commit 8ba9ff6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion orocos_kdl/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ IF(ENABLE_EXAMPLES)
TARGET_LINK_LIBRARIES(trajectory_example orocos-kdl)

add_executable(chainiksolverpos_lma_demo chainiksolverpos_lma_demo.cpp )
TARGET_LINK_LIBRARIES(chainiksolverpos_lma_demo orocos-kdl orocos-kdl-models)
find_package(Boost REQUIRED)
IF(${Boost_VERSION_MACRO} LESS 108300)
TARGET_LINK_LIBRARIES(chainiksolverpos_lma_demo orocos-kdl orocos-kdl-models)
ELSE()
TARGET_LINK_LIBRARIES(chainiksolverpos_lma_demo boost_timer orocos-kdl orocos-kdl-models)
ENDIF()

ENDIF(ENABLE_EXAMPLES)

0 comments on commit 8ba9ff6

Please sign in to comment.