We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71f9dbd + 5cc328d commit 3db7682Copy full SHA for 3db7682
modules/cvv/CMakeLists.txt
@@ -1,4 +1,4 @@
1
-if(NOT HAVE_QT5 OR NOT HAVE_CXX11)
+if(NOT HAVE_QT OR NOT HAVE_CXX11 OR QT_VERSION_MAJOR LESS 5)
2
ocv_module_disable(cvv)
3
return()
4
endif()
modules/sfm/CMakeLists.txt
@@ -117,6 +117,11 @@ ocv_add_module(sfm
117
118
add_definitions(/DGLOG_NO_ABBREVIATED_SEVERITIES) # avoid ERROR macro conflict in glog (ceres dependency)
119
120
+if(WIN32)
121
+ # Avoid error due to min/max being already defined as a macro
122
+ add_definitions(-DNOMINMAX)
123
+endif(WIN32)
124
+
125
ocv_warnings_disable(CMAKE_CXX_FLAGS
126
-Wundef
127
-Wshadow
0 commit comments