diff --git a/modules/python/common.cmake b/modules/python/common.cmake index ea8d0c832e..c79f5400e0 100644 --- a/modules/python/common.cmake +++ b/modules/python/common.cmake @@ -14,15 +14,7 @@ endforeach(mp) # module blacklist ocv_list_filterout(candidate_deps "^opencv_cud(a|ev)") -ocv_list_filterout(candidate_deps "^opencv_adas$") -ocv_list_filterout(candidate_deps "^opencv_face$") ocv_list_filterout(candidate_deps "^opencv_matlab$") -ocv_list_filterout(candidate_deps "^opencv_tracking$") -ocv_list_filterout(candidate_deps "^opencv_optflow$") -ocv_list_filterout(candidate_deps "^opencv_bgsegm$") -ocv_list_filterout(candidate_deps "^opencv_xfeatures2d$") -ocv_list_filterout(candidate_deps "^opencv_ximgproc$") -ocv_list_filterout(candidate_deps "^opencv_xphoto$") ocv_list_filterout(candidate_deps "^opencv_ts$") ocv_add_module(${MODULE_NAME} BINDINGS OPTIONAL ${candidate_deps}) @@ -43,7 +35,6 @@ ocv_list_filterout(opencv_hdrs ".h$") ocv_list_filterout(opencv_hdrs "cuda") ocv_list_filterout(opencv_hdrs "cudev") ocv_list_filterout(opencv_hdrs "opencv2/objdetect/detection_based_tracker.hpp") -ocv_list_filterout(opencv_hdrs "opencv2/optim.hpp") set(cv2_generated_hdrs "${CMAKE_CURRENT_BINARY_DIR}/pyopencv_generated_include.h"