-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add patches for roscpp rt and swri-yaml-util
- Loading branch information
Showing
4 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index fe506f1ffc..783dae7e34 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -53,9 +53,13 @@ if(CMAKE_THREAD_LIBS_INIT) | ||
endif() | ||
endif() | ||
|
||
+if (UNIX AND NOT APPLE) | ||
+ set(RT_LIB rt) | ||
+endif() | ||
+ | ||
catkin_package( | ||
INCLUDE_DIRS include ${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_INCLUDE_DESTINATION}/ros | ||
- LIBRARIES roscpp ${PTHREAD_LIB} | ||
+ LIBRARIES roscpp ${PTHREAD_LIB} ${RT_LIB} | ||
CATKIN_DEPENDS cpp_common message_runtime rosconsole roscpp_serialization roscpp_traits rosgraph_msgs rostime std_msgs xmlrpcpp | ||
DEPENDS Boost | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 628d70846..cc668b01f 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -29,7 +29,7 @@ include_directories(include) | ||
include_directories(SYSTEM | ||
${catkin_INCLUDE_DIRS} | ||
${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_INCLUDE_DESTINATION} | ||
- ${YamlCpp_INCLUDE_DIR} | ||
+ ${YamlCpp_INCLUDE_DIRS} | ||
) | ||
|
||
add_library(${PROJECT_NAME} |