Force correct order of compilation
This commit is contained in:
parent
d44ac1a76c
commit
c8f38a0480
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,10 @@ add_message_files(
|
|||
BoundingBox.msg
|
||||
)
|
||||
|
||||
generate_messages()
|
||||
generate_messages(
|
||||
DEPENDENCIES
|
||||
std_msgs
|
||||
)
|
||||
catkin_package(CATKIN_DEPENDS
|
||||
roscpp
|
||||
std_msgs
|
||||
|
@ -29,6 +32,7 @@ include_directories (${catkin_INCLUDE_DIRS})
|
|||
|
||||
add_executable (papillon src/papillon.cpp)
|
||||
add_executable (control src/control.cpp)
|
||||
add_dependencies( papillon ${PROJECT_NAME}_generate_messages_cpp )
|
||||
target_link_libraries(papillon ${catkin_LIBRARIES})
|
||||
set_property (TARGET papillon APPEND PROPERTY INCLUDE_DIRECTORIES ${OpenCV_INCLUDE_DIRS})
|
||||
set_property (TARGET papillon APPEND PROPERTY INCLUDE_DIRECTORIES ${catkin_INCLUDE_DIRS})
|
||||
|
|
Loading…
Reference in a new issue