Skip to content

Commit

Permalink
Fix build in case no suitable OGRE is found (#726)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Pecka <[email protected]>
  • Loading branch information
peci1 authored Sep 19, 2022
1 parent 7e3371b commit 318fd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ gz_find_package(GzOGRE VERSION 1.9.0
# Display a warning for the users on this setup unless they provide
# USE_UNOFFICIAL_OGRE_VERSIONS flag
if (NOT USE_UNOFFICIAL_OGRE_VERSIONS)
if (${OGRE_VERSION} VERSION_GREATER_EQUAL 1.10.0)
if (OGRE_VERSION VERSION_GREATER_EQUAL 1.10.0)
GZ_BUILD_WARNING("Ogre 1.x versions greater than 1.9 are not officially supported."
"The software might compile and even work but support from upstream"
"could be reduced to accepting patches for newer versions")
Expand Down

0 comments on commit 318fd83

Please sign in to comment.