Skip to content

Commit b619a06

Browse files
committed
Merge pull request #2944 from paroj:ogre_devel
2 parents fc0cec6 + c7b27f8 commit b619a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ovis/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
set(the_description "OGRE 3D Visualiser.")
22

3-
find_package(OGRE QUIET)
3+
find_package(OGRE QUIET CONFIG)
44

55
if(NOT OGRE_FOUND)
66
message(STATUS "Module opencv_ovis disabled because OGRE3D was not found")
77
ocv_module_disable(ovis)
8-
elseif(OGRE_VERSION VERSION_LESS 1.11.5 OR OGRE_VERSION VERSION_GREATER 2.0)
8+
elseif(OGRE_VERSION VERSION_LESS 1.11.5)
99
message(STATUS "Module opencv_ovis disabled because of incompatible OGRE3D version (${OGRE_VERSION})")
1010
ocv_module_disable(ovis)
1111
else() # we need C++11 for OGRE 1.11

0 commit comments

Comments
 (0)