diff --git a/scripts/cmake/Dependencies.cmake b/scripts/cmake/Dependencies.cmake index 265dffc85a9..74110059503 100644 --- a/scripts/cmake/Dependencies.cmake +++ b/scripts/cmake/Dependencies.cmake @@ -86,6 +86,7 @@ endif() if(GUIX_BUILD) find_package(pybind11 REQUIRED) else() + set(PYBIND11_FINDPYTHON ON) CPMFindPackage( NAME pybind11 GITHUB_REPOSITORY pybind/pybind11 VERSION ${ogs.minimum_version.pybind11} SYSTEM TRUE