From bdba3a80ad26c872ede9dc1d80dc6a690a5b5c81 Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Thu, 18 Jan 2018 20:25:29 -0500 Subject: [PATCH] Fix CMake warning for rt and pthread. (#165) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a72acb8..d180df5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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