Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mobile_robotics
ADC
external
libuvc_ros
Commits
7ac963eb
Commit
7ac963eb
authored
Sep 23, 2013
by
ktossell
Browse files
Merge pull request #5 from tfoote/master
add an explicit dependency on generated files in CMake
parents
9b5d9435
e9878081
Changes
1
Hide whitespace changes
Inline
Side-by-side
libuvc_camera/CMakeLists.txt
View file @
7ac963eb
...
...
@@ -28,10 +28,12 @@ include_directories(${Boost_INCLUDE_DIRS})
add_executable
(
camera_node src/main.cpp src/camera_driver.cpp
)
target_link_libraries
(
camera_node
${
Boost_LIBRARIES
}
${
catkin_LIBRARIES
}
${
libuvc_LIBRARIES
}
)
add_dependencies
(
camera_node
${
PROJECT_NAME
}
_gencfg
)
add_library
(
libuvc_camera_nodelet src/nodelet.cpp src/camera_driver.cpp
)
add_dependencies
(
libuvc_camera_nodelet
${
libuvc_camera_EXPORTED_TARGETS
}
)
target_link_libraries
(
libuvc_camera_nodelet
${
Boost_LIBRARIES
}
${
catkin_LIBRARIES
}
${
libuvc_LIBRARIES
}
)
add_dependencies
(
camera_nodelet
${
PROJECT_NAME
}
_gencfg
)
install
(
TARGETS camera_node libuvc_camera_nodelet
ARCHIVE DESTINATION
${
CATKIN_PACKAGE_LIB_DESTINATION
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment