Skip to content

Commit 28a8b44

Browse files
authored
Merge pull request #25 from AutoModality/dependencies_fix
add_dependencies fix
2 parents 5e52630 + c1ac0be commit 28a8b44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ add_library(am_utils
110110

111111
target_link_libraries(am_utils ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
112112

113+
add_dependencies(am_utils ${catkin_EXPORTED_TARGETS})
114+
113115
install(TARGETS am_utils
114116
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
115117
)

0 commit comments

Comments
 (0)