From a1cf1ee6ed5babdc4ca9d7fbfcea1e619c5f9cf8 Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Mon, 27 Nov 2017 13:01:10 -0500 Subject: [PATCH] Fix CMake warning for rt and pthread. --- 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