Skip to content
Snippets Groups Projects
Commit 8846e880 authored by Hkorb's avatar Hkorb
Browse files

use FetchContent_MakeAvailable instead of find_package

parent 865238d3
No related branches found
No related tags found
1 merge request!239Fetch pybind through cmake
...@@ -226,10 +226,9 @@ if (BUILD_VF_PYTHON_BINDINGS) ...@@ -226,10 +226,9 @@ if (BUILD_VF_PYTHON_BINDINGS)
pybind11 pybind11
GIT_REPOSITORY ${pybind_url} GIT_REPOSITORY ${pybind_url}
GIT_TAG ${pybind_version} GIT_TAG ${pybind_version}
OVERRIDE_FIND_PACKAGE
) )
find_package(pybind11) FetchContent_MakeAvailable(pybind11)
add_subdirectory(pythonbindings) add_subdirectory(pythonbindings)
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment