Merge pull request #4109 from alalek:fix_build_dbt_bindings
This commit is contained in:
commit
a003d1d758
@ -44,6 +44,7 @@
|
|||||||
#ifndef __OPENCV_OBJDETECT_DBT_HPP__
|
#ifndef __OPENCV_OBJDETECT_DBT_HPP__
|
||||||
#define __OPENCV_OBJDETECT_DBT_HPP__
|
#define __OPENCV_OBJDETECT_DBT_HPP__
|
||||||
|
|
||||||
|
// After this condition removal update blacklist for bindings: modules/python/common.cmake
|
||||||
#if defined(__linux__) || defined(LINUX) || defined(__APPLE__) || defined(__ANDROID__) || \
|
#if defined(__linux__) || defined(LINUX) || defined(__APPLE__) || defined(__ANDROID__) || \
|
||||||
(defined(__cplusplus) && __cplusplus > 201103L) || (defined(_MSC_VER) && _MSC_VER >= 1700)
|
(defined(__cplusplus) && __cplusplus > 201103L) || (defined(_MSC_VER) && _MSC_VER >= 1700)
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ endforeach(m)
|
|||||||
ocv_list_filterout(opencv_hdrs ".h$")
|
ocv_list_filterout(opencv_hdrs ".h$")
|
||||||
ocv_list_filterout(opencv_hdrs "cuda")
|
ocv_list_filterout(opencv_hdrs "cuda")
|
||||||
ocv_list_filterout(opencv_hdrs "cudev")
|
ocv_list_filterout(opencv_hdrs "cudev")
|
||||||
|
ocv_list_filterout(opencv_hdrs "detection_based_tracker.hpp") # Conditional compilation
|
||||||
|
|
||||||
set(cv2_generated_hdrs
|
set(cv2_generated_hdrs
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/pyopencv_generated_include.h"
|
"${CMAKE_CURRENT_BINARY_DIR}/pyopencv_generated_include.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user