Commit d5429126 authored by William Woodall's avatar William Woodall
Browse files

Added a link option specifically for Linux

parent f3a9767a
......@@ -37,6 +37,9 @@ endif()
add_library(${PROJECT_NAME}
${serial_SRCS}
)
if (UNIX)
target_link_libraries(${PROJECT_NAME} rt)
endif()
## Uncomment for example
add_executable(serial_example examples/serial_example.cc)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment