diff --git a/CMakeLists.txt b/CMakeLists.txt index 28a5f74..f5789ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,6 +110,8 @@ add_library(am_utils target_link_libraries(am_utils ${catkin_LIBRARIES} ${OpenCV_LIBRARIES}) +add_dependencies(am_utils ${catkin_EXPORTED_TARGETS}) + install(TARGETS am_utils LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} )