Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel Firmware
serial
Commits
3d6581ba
Commit
3d6581ba
authored
12 years ago
by
David Hodo
Browse files
Options
Download
Email Patches
Plain Diff
fixed library name - hardcoded not based on project name
parent
51e4755d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
serial_ros.cmake
serial_ros.cmake
+3
-3
No files found.
serial_ros.cmake
View file @
3d6581ba
...
...
@@ -23,14 +23,14 @@ IF(CMAKE_SYSTEM_NAME MATCHES Darwin)
ENDIF
(
CMAKE_SYSTEM_NAME MATCHES Darwin
)
# Build the serial library
rosbuild_add_library
(
${
PROJECT_NAME
}
src/serial.cpp include/serial/serial.h
)
rosbuild_add_library
(
serial
src/serial.cpp include/serial/serial.h
)
# Add boost dependencies
rosbuild_add_boost_directories
()
rosbuild_link_boost
(
${
PROJECT_NAME
}
system filesystem thread
)
rosbuild_link_boost
(
serial
system filesystem thread
)
# Build example
rosbuild_add_executable
(
serial_example examples/serial_example.cpp
)
target_link_libraries
(
serial_example
${
PROJECT_NAME
}
)
target_link_libraries
(
serial_example
serial
)
endmacro
(
build_serial
)
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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