Skip to content

Commit 318fd83

Browse files
authored
Fix build in case no suitable OGRE is found (#726)
Signed-off-by: Martin Pecka <[email protected]>
1 parent 7e3371b commit 318fd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ gz_find_package(GzOGRE VERSION 1.9.0
8484
# Display a warning for the users on this setup unless they provide
8585
# USE_UNOFFICIAL_OGRE_VERSIONS flag
8686
if (NOT USE_UNOFFICIAL_OGRE_VERSIONS)
87-
if (${OGRE_VERSION} VERSION_GREATER_EQUAL 1.10.0)
87+
if (OGRE_VERSION VERSION_GREATER_EQUAL 1.10.0)
8888
GZ_BUILD_WARNING("Ogre 1.x versions greater than 1.9 are not officially supported."
8989
"The software might compile and even work but support from upstream"
9090
"could be reduced to accepting patches for newer versions")

0 commit comments

Comments
 (0)