Skip to content

Commit

Permalink
Fix FindIgnOGRE2.cmake (#221)
Browse files Browse the repository at this point in the history
Follow-up after #219

Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
hidmic authored Apr 1, 2022
1 parent fa268e9 commit e7e2c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindIgnOGRE2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
# Reduce valid versions to 2.x series
if (${IgnOGRE2_FIND_VERSION_MAJOR})
if (${IgnOGRE2_FIND_VERSION_MAJOR} VERSION_LESS "2" OR
(${IgnOGRE2_FIND_VERSION_MAJOR} VERSION_GREATER_EQUAL "3")
${IgnOGRE2_FIND_VERSION_MAJOR} VERSION_GREATER_EQUAL "3")
set (OGRE2_FOUND false)
return()
endif()
Expand Down

0 comments on commit e7e2c53

Please sign in to comment.