Skip to content

Commit

Permalink
(PyKDL) set PYBIND11_PYTHON_VERSION to supress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Feb 13, 2021
1 parent 0b1b52e commit 7372114
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python_orocos_kdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ else()
SET(PYTHON_VERSION 2 CACHE STRING "Python Version")
endif()

set(PYBIND11_PYTHON_VERSION ${PYTHON_VERSION} CACHE STRING "Python version used by PyBind11")

find_package(PythonInterp ${PYTHON_VERSION} REQUIRED)
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
Expand Down

0 comments on commit 7372114

Please sign in to comment.