diff --git a/recipe/patches_opencv/0006-include-OpenCVModule.cmake.patch b/recipe/patches_opencv/0006-include-OpenCVModule.cmake.patch index f09042c2..0c06ad59 100644 --- a/recipe/patches_opencv/0006-include-OpenCVModule.cmake.patch +++ b/recipe/patches_opencv/0006-include-OpenCVModule.cmake.patch @@ -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" 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")