Commit cdb7b837 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fix python module compilation with enabled CUDA support:

filterout all CUDA related headers from python module include headers
parent add9ce46
...@@ -45,7 +45,8 @@ endforeach(m) ...@@ -45,7 +45,8 @@ endforeach(m)
# header blacklist # header blacklist
ocv_list_filterout(opencv_hdrs ".h$") 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/objdetect/detection_based_tracker.hpp")
ocv_list_filterout(opencv_hdrs "opencv2/optim.hpp") ocv_list_filterout(opencv_hdrs "opencv2/optim.hpp")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment