diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a553b54f..99b89b9e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ if (APPLE) set(CMAKE_MACOSX_RPATH 1) endif() +set(PYBIND11_FINDPYTHON ON) find_package(pybind11) message(STATUS "Found pybind11: ${pybind11_VERSION}") if(${pybind11_VERSION} VERSION_LESS '2.11.1')