Skip to content

Commit

Permalink
iterate on patch
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jun 26, 2023
1 parent 1a7e2d5 commit 79c3a1d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions recipe/patches_opencv/0006-include-OpenCVModule.cmake.patch
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
From 860d6d249fca7b0c9888da90b70b2328fa418f83 Mon Sep 17 00:00:00 2001
From 75621a006ca42ec10df0cfa3de1635852420671c Mon Sep 17 00:00:00 2001
From: "H. Vetinari" <[email protected]>
Date: Mon, 26 Jun 2023 20:15:31 +1100
Subject: [PATCH 6/6] include OpenCVModule.cmake

---
modules/python/bindings/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
modules/python/bindings/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/modules/python/bindings/CMakeLists.txt b/modules/python/bindings/CMakeLists.txt
index b39c679615..6396374d20 100644
index b39c679615..12eb2863fa 100644
--- a/modules/python/bindings/CMakeLists.txt
+++ b/modules/python/bindings/CMakeLists.txt
@@ -1,3 +1,6 @@
@@ -1,3 +1,8 @@
+if(DEFINED MY_SUPER_SECRET_VARIABLE)
+ # the order is important
+ include($ENV{SRC_DIR}/cmake/OpenCVUtils.cmake)
+ include($ENV{SRC_DIR}/cmake/OpenCVModule.cmake)
+endif()
set(MODULE_NAME "python_bindings_generator")
Expand Down

0 comments on commit 79c3a1d

Please sign in to comment.