You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set(PYTHON_SITE_PACKAGES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/dist-packages"CACHESTRING"Install location of the python package") # This might be overridden below if built with catkin.
37
+
set(PYTHON_SITE_PACKAGES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}/dist-packages"CACHESTRING"Install location of the python package") # This might be overridden below if built with catkin.
32
38
set(LIBRARY_NAME "PyKDL")
33
39
34
40
# catkin-specific configuration (optional)
@@ -43,12 +49,6 @@ if(catkin_FOUND)
43
49
endif()
44
50
45
51
# Build the module
46
-
if(WIN32)
47
-
set(PYTHON_MODULE_EXTENSION ".pyd")
48
-
else()
49
-
set(PYTHON_MODULE_EXTENSION ".so")
50
-
endif()
51
-
52
52
find_package(pybind11 2.6 QUIET)
53
53
if(NOT${pybind11_FOUND})
54
54
message(STATUS"pybind11 not found, building from source")
0 commit comments