Skip to content

Commit

Permalink
soem_beckhoff_drivers: link with soem libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerj committed May 3, 2014
1 parent 51578ad commit 24fa097
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions soem_beckhoff_drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,21 @@ include_directories(${SOEM_INCLUDE_DIRS})
orocos_use_package(soem_master)

orocos_plugin(soem_el1xxx src/soem_beckhoff_drivers.cpp src/soem_el1xxx.cpp)
target_link_libraries(soem_el1xxx ${SOEM_LIBRARIES})
orocos_plugin(soem_el2xxx src/soem_beckhoff_drivers.cpp src/soem_el2xxx.cpp)
target_link_libraries(soem_el2xxx ${SOEM_LIBRARIES})
orocos_plugin(soem_el4xxx src/soem_beckhoff_drivers.cpp src/soem_el4xxx.cpp)
target_link_libraries(soem_el4xxx ${SOEM_LIBRARIES})
orocos_plugin(soem_el3102 src/soem_beckhoff_drivers.cpp src/soem_el3102.cpp)
target_link_libraries(soem_el3102 ${SOEM_LIBRARIES})
orocos_plugin(soem_el5101 src/soem_beckhoff_drivers.cpp src/soem_el5101.cpp)
target_link_libraries(soem_el5101 ${SOEM_LIBRARIES})
orocos_plugin(soem_el6022 src/soem_beckhoff_drivers.cpp src/soem_el6022.cpp)
target_link_libraries(soem_el6022 ${SOEM_LIBRARIES})
orocos_plugin(soem_el30xx src/soem_beckhoff_drivers.cpp src/soem_el30xx.cpp)
target_link_libraries(soem_el30xx ${SOEM_LIBRARIES})
orocos_plugin(soem_el3104 src/soem_beckhoff_drivers.cpp src/soem_el3104.cpp)
target_link_libraries(soem_el3104 ${SOEM_LIBRARIES})

if(NOT ORO_USE_ROSBUILD)
add_dependencies(soem_el1xxx ${PROJECT_NAME}_generate_messages_cpp)
Expand Down

0 comments on commit 24fa097

Please sign in to comment.