13 lines
1.4 KiB
Diff
13 lines
1.4 KiB
Diff
diff --color -ur orocos_kinematics_dynamics-1.5.1/python_orocos_kdl/CMakeLists.txt orocos_kinematics_dynamics-1.5.1.python-site-packages/python_orocos_kdl/CMakeLists.txt
|
|
--- orocos_kinematics_dynamics-1.5.1/python_orocos_kdl/CMakeLists.txt 2021-09-12 08:58:27.000000000 +0200
|
|
+++ orocos_kinematics_dynamics-1.5.1.python-site-packages/python_orocos_kdl/CMakeLists.txt 2022-04-12 15:06:19.717530738 +0200
|
|
@@ -25,7 +25,7 @@
|
|
find_package(PythonLibs ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} REQUIRED)
|
|
# get_python_lib in python3 produces path which isn't in sys.path: https://bugs.launchpad.net/ubuntu/+source/python3-stdlib-extensions/+bug/1832215
|
|
# execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=True, prefix=''))" OUTPUT_VARIABLE PYTHON_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
-set(PYTHON_SITE_PACKAGES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/dist-packages") # This might be overridden below if built with catkin.
|
|
+set(PYTHON_SITE_PACKAGES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/dist-packages" CACHE PATH "Install dir for python site packages") # This might be overridden below if built with catkin.
|
|
set(LIBRARY_NAME "PyKDL")
|
|
|
|
# catkin-specific configuration (optional)
|