fix python module compilation with enabled CUDA support:

filterout all CUDA related headers from python module include headers
pull/3034/head
Vladislav Vinogradov 11 years ago
parent add9ce46c3
commit cdb7b83741
  1. 3
      modules/python/CMakeLists.txt

@ -45,7 +45,8 @@ endforeach(m)
# header blacklist
ocv_list_filterout(opencv_hdrs ".h$")
ocv_list_filterout(opencv_hdrs "opencv2/core/cuda")
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")

Loading…
Cancel
Save