Skip to content

Commit

Permalink
Create 757.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Nov 10, 2023
1 parent d6ce0b2 commit 0b13f14
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions recipe/757.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 485099e7374939eeed52e819550460b5cde3002c Mon Sep 17 00:00:00 2001
From: Silvio Traversaro <silvio.traversaro@iit.it>
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

0 comments on commit 0b13f14

Please sign in to comment.