diff --git a/recipe/757.patch b/recipe/757.patch new file mode 100644 index 0000000..49fb938 --- /dev/null +++ b/recipe/757.patch @@ -0,0 +1,22 @@ +From 485099e7374939eeed52e819550460b5cde3002c Mon Sep 17 00:00:00 2001 +From: Silvio Traversaro +Date: Fri, 10 Nov 2023 09:25:10 +0100 +Subject: [PATCH] Add missing include(FetchContent) in + bindings/python/RobotInterface/CMakeLists.txt + +--- + bindings/python/RobotInterface/CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/bindings/python/RobotInterface/CMakeLists.txt b/bindings/python/RobotInterface/CMakeLists.txt +index aa33fc9e27..31512841b7 100644 +--- a/bindings/python/RobotInterface/CMakeLists.txt ++++ b/bindings/python/RobotInterface/CMakeLists.txt +@@ -27,6 +27,7 @@ if(TARGET BipedalLocomotion::RobotInterface + # https://github.com/pybind/pybind11/commit/74a767d42921001fc4569ecee3b8726383c42ad4 + # https://github.com/pybind/pybind11/pull/2864 + if (${pybind11_VERSION} VERSION_GREATER_EQUAL "2.7.0") ++ include(FetchContent) + FetchContent_Declare( + cvnp + GIT_REPOSITORY https://github.com/pthom/cvnp