1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00

Fix CMake warning for rt and pthread. (#165)

This commit is contained in:
Mike Purvis 2018-01-18 20:25:29 -05:00 committed by William Woodall
parent 17e3223e68
commit bdba3a80ad

View File

@ -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