From cdb7b83741fde677ebfa0923ed49f9f3706b066f Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Mon, 4 Aug 2014 12:12:51 +0400 Subject: [PATCH] fix python module compilation with enabled CUDA support: filterout all CUDA related headers from python module include headers --- modules/python/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/python/CMakeLists.txt b/modules/python/CMakeLists.txt index 66ac1ad..128f285 100644 --- a/modules/python/CMakeLists.txt +++ b/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") -- 2.7.4