mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 03:34:53 +08:00
Fix CMake warning for rt and pthread. (#165)
This commit is contained in:
parent
17e3223e68
commit
bdba3a80ad
@ -11,6 +11,8 @@ endif()
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
# If Linux, add rt and pthread
|
||||
set(rt_LIBRARIES rt)
|
||||
set(pthread_LIBRARIES pthread)
|
||||
catkin_package(
|
||||
LIBRARIES ${PROJECT_NAME}
|
||||
INCLUDE_DIRS include
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user