mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -47,3 +47,7 @@ if(OPENCV_DISABLE_THREAD_SUPPORT)
|
||||
# described in `ts_gtest.h`.
|
||||
ocv_target_compile_definitions(${the_module} PUBLIC GTEST_HAS_PTHREAD=0)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "QNX")
|
||||
ocv_target_link_libraries(${the_module} PUBLIC regex)
|
||||
endif()
|
||||
@@ -941,13 +941,9 @@ namespace opencv_test {
|
||||
using namespace cvtest;
|
||||
using namespace cv;
|
||||
|
||||
#ifdef CV_CXX11
|
||||
#define CVTEST_GUARD_SYMBOL(name) \
|
||||
class required_namespace_specificatin_here_for_symbol_ ## name {}; \
|
||||
using name = required_namespace_specificatin_here_for_symbol_ ## name;
|
||||
#else
|
||||
#define CVTEST_GUARD_SYMBOL(name) /* nothing */
|
||||
#endif
|
||||
|
||||
CVTEST_GUARD_SYMBOL(norm)
|
||||
CVTEST_GUARD_SYMBOL(add)
|
||||
|
||||
Reference in New Issue
Block a user