File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,12 @@ fn make_modules_and_alises(
105105 . and_then ( |s| SupportedModule :: try_from_opencv_name ( & s. to_lowercase ( ) ) )
106106 } ) )
107107 . collect :: < HashSet < _ > > ( ) ;
108+ eprintln ! ( "=== Enabled OpenCV modules from the environment: {enable_modules:#?}" ) ;
108109
109- let mut modules = files_with_extension ( opencv_dir, "hpp" ) ?
110+ let files_hpp = files_with_extension ( opencv_dir, "hpp" ) ?. collect :: < Vec < _ > > ( ) ;
111+ eprintln ! ( "=== Found HPP files: {files_hpp:#?}" ) ;
112+ let mut modules = files_hpp
113+ . into_iter ( )
110114 . filter_map ( |entry| {
111115 entry
112116 . file_stem ( )
@@ -127,6 +131,7 @@ fn make_modules_and_alises(
127131 } ;
128132
129133 modules. sort_unstable ( ) ;
134+ eprintln ! ( "=== Final OpenCV modules to be built: {modules:#?}" ) ;
130135 Ok ( ( modules, aliases) )
131136}
132137
You can’t perform that action at this time.
0 commit comments