diff --git a/modules/core/src/convert.cpp b/modules/core/src/convert.cpp index 051f863d65..2f7a46d725 100644 --- a/modules/core/src/convert.cpp +++ b/modules/core/src/convert.cpp @@ -43,6 +43,11 @@ #include "precomp.hpp" #include "opencl_kernels_core.hpp" +#ifdef __APPLE__ +#undef CV_NEON +#define CV_NEON 0 +#endif + namespace cv { diff --git a/modules/python/common.cmake b/modules/python/common.cmake index 164515c72f..7f2839ecea 100644 --- a/modules/python/common.cmake +++ b/modules/python/common.cmake @@ -21,6 +21,7 @@ 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_ts$") ocv_add_module(${MODULE_NAME} BINDINGS OPTIONAL ${candidate_deps})