Merge remote-tracking branch 'upstream/3.4' into merge-3.4

pull/3087/head
Alexander Alekhin 3 years ago
commit 3db7682c03
  1. 2
      modules/cvv/CMakeLists.txt
  2. 5
      modules/sfm/CMakeLists.txt

@ -1,4 +1,4 @@
if(NOT HAVE_QT5 OR NOT HAVE_CXX11)
if(NOT HAVE_QT OR NOT HAVE_CXX11 OR QT_VERSION_MAJOR LESS 5)
ocv_module_disable(cvv)
return()
endif()

@ -117,6 +117,11 @@ ocv_add_module(sfm
add_definitions(/DGLOG_NO_ABBREVIATED_SEVERITIES) # avoid ERROR macro conflict in glog (ceres dependency)
if(WIN32)
# Avoid error due to min/max being already defined as a macro
add_definitions(-DNOMINMAX)
endif(WIN32)
ocv_warnings_disable(CMAKE_CXX_FLAGS
-Wundef
-Wshadow

Loading…
Cancel
Save