Skip to content

Commit

Permalink
Adding libraries to gscam target
Browse files Browse the repository at this point in the history
Fixes #13, now builds on stricter linkers
  • Loading branch information
jbohren committed May 20, 2014
1 parent e0d255f commit 6e82d8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ if(USE_ROSBUILD)
include_directories(${GLIB_INCLUDE_DIRS} ${GST_APP_INCLUDE_DIRS})

rosbuild_add_library(gscam src/gscam.cpp)
target_link_libraries(gscam
${GSTREAMER_LIBRARIES}
${GST_APP_LIBRARIES})

rosbuild_add_executable(gscam_node src/gscam_node.cpp)
target_link_libraries(gscam_node gscam
Expand Down Expand Up @@ -53,6 +56,10 @@ else()
${GST_APP_INCLUDE_DIRS})

add_library(gscam src/gscam.cpp)
target_link_libraries(gscam
${catkin_LIBRARIES}
${GSTREAMER_LIBRARIES}
${GST_APP_LIBRARIES})

add_executable(gscam_node src/gscam_node.cpp)
target_link_libraries(gscam_node gscam
Expand Down

0 comments on commit 6e82d8b

Please sign in to comment.