Skip to content

Commit

Permalink
Fix missing dependencies in mil_missions library
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrxyz committed Jul 17, 2024
1 parent 13b362d commit ed9eb5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mil_common/mil_missions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -pedantic -Wall -std=c++11")
find_package(catkin REQUIRED rostest genmsg actionlib_msgs roscpp actionlib)
catkin_python_setup()
add_action_files(
DIRECTORY
action
FILES
DoMission.action
)
Expand All @@ -22,6 +24,8 @@ catkin_package(
CATKIN_DEPENDS
actionlib_msgs
roscpp
message_generation
message_runtime
)

include_directories(
Expand All @@ -44,5 +48,6 @@ endif()
add_library(mil_missions
src/client.cpp
)
add_dependencies(mil_missions ${catkin_EXPORTED_TARGETS} ${mil_missions_EXPORTED_TARGETS})
target_include_directories(mil_missions PUBLIC include)
target_link_libraries(mil_missions ${catkin_LIBRARIES})
3 changes: 3 additions & 0 deletions mil_common/mil_missions/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
<buildtool_depend>catkin</buildtool_depend>
<build_depend>actionlib</build_depend>
<build_depend>actionlib_msgs</build_depend>
<build_depend>message_generation</build_depend>
<build_depend>roscpp</build_depend>
<run_depend>actionlib</run_depend>
<run_depend>roscpp</run_depend>
<run_depend>actionlib_msgs</run_depend>
<run_depend>message_generation</run_depend>
<run_depend>message_runtime</run_depend>
<run_depend>python_qt_binding</run_depend>
<run_depend>qt_gui.plugin</run_depend>
<export>
Expand Down

0 comments on commit ed9eb5d

Please sign in to comment.