diff --git a/CMakeLists.txt b/CMakeLists.txt index eda47aaa5f13e413ed0b0b56b34e7029e2104a23..e7f62a5ba3308a7e382e1802a8cc42a1bb043b25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,10 +226,9 @@ if (BUILD_VF_PYTHON_BINDINGS) pybind11 GIT_REPOSITORY ${pybind_url} GIT_TAG ${pybind_version} - OVERRIDE_FIND_PACKAGE ) - find_package(pybind11) + FetchContent_MakeAvailable(pybind11) add_subdirectory(pythonbindings) endif()