Skip to content

Commit

Permalink
Merge pull request #30 from jarvisschultz/release-5.2.0
Browse files Browse the repository at this point in the history
Add dependency to ensure messages depended upon are built before lib
  • Loading branch information
IanTheEngineer authored Feb 7, 2018
2 parents e240526 + 6d57ef8 commit 7b4ec54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sawyer_sim_controllers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ add_library(${PROJECT_NAME}
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14)


if(catkin_EXPORTED_TARGETS)
add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
endif()

target_link_libraries(${PROJECT_NAME}
${catkin_LIBRARIES}
)

0 comments on commit 7b4ec54

Please sign in to comment.