mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +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(UNIX AND NOT APPLE)
|
||||||
# If Linux, add rt and pthread
|
# If Linux, add rt and pthread
|
||||||
|
set(rt_LIBRARIES rt)
|
||||||
|
set(pthread_LIBRARIES pthread)
|
||||||
catkin_package(
|
catkin_package(
|
||||||
LIBRARIES ${PROJECT_NAME}
|
LIBRARIES ${PROJECT_NAME}
|
||||||
INCLUDE_DIRS include
|
INCLUDE_DIRS include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user