-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a7e2d5
commit 79c3a1d
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
12 changes: 7 additions & 5 deletions
12
recipe/patches_opencv/0006-include-OpenCVModule.cmake.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
|