mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
10 lines
331 B
CMake
10 lines
331 B
CMake
# pybind11 must use the ROS python version
|
|
set(PYBIND11_PYTHON_VERSION ${PYTHON_VERSION})
|
|
|
|
if(@INSTALLSPACE@)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/pybind11Config.cmake)
|
|
else()
|
|
# in build space, directly include pybind11 directory
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../pybind11 ${CMAKE_CURRENT_BINARY_DIR}/pybind11)
|
|
endif()
|