File: 0005-Use-system-pybind11-package.patch

package info (click to toggle)
orocos-kdl 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,104 kB
  • sloc: cpp: 17,296; python: 981; xml: 73; makefile: 70; sh: 20
file content (21 lines) | stat: -rw-r--r-- 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Mon, 4 Oct 2021 23:17:31 +0200
Subject: Use system pybind11 package

---
 python_orocos_kdl/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python_orocos_kdl/CMakeLists.txt b/python_orocos_kdl/CMakeLists.txt
index 3cf6b50..ae0ad8d 100644
--- a/python_orocos_kdl/CMakeLists.txt
+++ b/python_orocos_kdl/CMakeLists.txt
@@ -48,7 +48,7 @@ else()
   set(PYTHON_MODULE_EXTENSION ".so")
 endif()
 
-add_subdirectory(pybind11)
+find_package(pybind11)
 pybind11_add_module(${LIBRARY_NAME}
   PyKDL/PyKDL.h
   PyKDL/PyKDL.cpp