Skip to content

Commit

Permalink
cmake: Fixed case of variables exported by soem
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerj committed May 3, 2014
1 parent ece2551 commit 51578ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions soem_beckhoff_drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ endif()
ros_generate_rtt_typekit(soem_beckhoff_drivers)

find_package(soem REQUIRED)
include_directories(${soem_INCLUDE_DIRS})
include_directories(${SOEM_INCLUDE_DIRS})

orocos_use_package(soem_master)

Expand All @@ -65,4 +65,4 @@ if(NOT ORO_USE_ROSBUILD)
add_dependencies(soem_el30xx ${PROJECT_NAME}_generate_messages_cpp)
add_dependencies(soem_el3104 ${PROJECT_NAME}_generate_messages_cpp)
endif()
orocos_generate_package()
orocos_generate_package()
4 changes: 2 additions & 2 deletions soem_master/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ find_package(OROCOS-RTT REQUIRED ${RTT_HINTS} )
include(${OROCOS-RTT_USE_FILE_PATH}/UseOROCOS-RTT.cmake)

find_package(soem REQUIRED)
include_directories(${soem_INCLUDE_DIRS})
include_directories(${SOEM_INCLUDE_DIRS})

#common commands for building c++ executables and libraries
orocos_library(soem_driver_factory soem_driver_factory.cpp)
orocos_component(soem_master soem_master_component.cpp)
target_link_libraries(soem_master soem_driver_factory ${soem_LIBRARIES})
target_link_libraries(soem_master soem_driver_factory ${SOEM_LIBRARIES})

orocos_plugin(soem_plugin soem_plugin.cpp)

Expand Down

0 comments on commit 51578ad

Please sign in to comment.