mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-23 04:04:54 +08:00
Fix CMake warning for rt and pthread.
This commit is contained in:
parent
827c4a784d
commit
a1cf1ee6ed
@ -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