dev-ros/camera_calibration_parsers: fix boost python detection
authorAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 14:15:38 +0000 (16:15 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 17:01:40 +0000 (19:01 +0200)
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/camera_calibration_parsers/files/boostpython.patch

index 8e2b868ec452545ef6335ea473018554b3936ac3..02019d6458f7fe08ec71052ed0ac2dc9a0820c82 100644 (file)
@@ -14,7 +14,7 @@ Index: camera_calibration_parsers/CMakeLists.txt
 -else()
 -  find_package(Boost REQUIRED COMPONENTS filesystem python3)
 -endif()
-+find_package(Boost REQUIRED COMPONENTS filesystem python)
++find_package(Boost REQUIRED COMPONENTS filesystem python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR})
  include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
  
  catkin_python_setup()