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 fc0cec6 + c7b27f8 commit b619a06Copy full SHA for b619a06
modules/ovis/CMakeLists.txt
@@ -1,11 +1,11 @@
1
set(the_description "OGRE 3D Visualiser.")
2
3
-find_package(OGRE QUIET)
+find_package(OGRE QUIET CONFIG)
4
5
if(NOT OGRE_FOUND)
6
message(STATUS "Module opencv_ovis disabled because OGRE3D was not found")
7
ocv_module_disable(ovis)
8
-elseif(OGRE_VERSION VERSION_LESS 1.11.5 OR OGRE_VERSION VERSION_GREATER 2.0)
+elseif(OGRE_VERSION VERSION_LESS 1.11.5)
9
message(STATUS "Module opencv_ovis disabled because of incompatible OGRE3D version (${OGRE_VERSION})")
10
11
else() # we need C++11 for OGRE 1.11
0 commit comments