blob: 985ad85dc7e566b71cbbe1a418b9af324752c7cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- CMakeLists.txt.orig 2019-10-12 00:51:32.023316775 -0400
+++ CMakeLists.txt 2019-10-12 00:51:45.049983337 -0400
@@ -4,11 +4,7 @@
find_package(catkin REQUIRED sensor_msgs rosconsole roscpp roscpp_serialization)
find_package(PythonLibs REQUIRED)
-if(PYTHONLIBS_VERSION_STRING VERSION_LESS 3)
- find_package(Boost REQUIRED COMPONENTS filesystem python)
-else()
- find_package(Boost REQUIRED COMPONENTS filesystem python3)
-endif()
+find_package(Boost REQUIRED COMPONENTS filesystem python)
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
catkin_python_setup()
|