Skip to content

Commit

Permalink
Drop a deprecation warning in GzOGRE2
Browse files Browse the repository at this point in the history
Signed-off-by: Ramir Sultanov <sumir0@proton.me>
  • Loading branch information
sumir0 committed Feb 24, 2025
1 parent b2d05b5 commit b2c0309
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cmake/FindGzOGRE2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,8 @@
# VERSION 2.2.0
# COMPONENTS HlmsPbs HlmsUnlit Overlay)

# warn about deprecation
# for additional details see
# https://github.com/gazebosim/gz-cmake/pull/468#issuecomment-2662882691
message(WARNING
"Keep in mind FindGzOGRE2.cmake is planned to be removed and FindGzOGRENext.cmake is planned to support OGRE-Next>=2.0.0 soon")
# check ogre-next>=3.0.0 was not requested to be found or was not found using VERSION_MAJOR parameter and show an error from
# MESSAGE_STRING parameter
# check ogre-next>=3.0.0 was not requested to be found or was not found using
# VERSION_MAJOR parameter and show a warning from MESSAGE_STRING parameter
# for additional details see
# https://github.com/gazebosim/gz-cmake/pull/468#issuecomment-2662882691
macro(check_possible_ogre_next_3_or_later VERSION_MAJOR MESSAGE_STRING)
Expand Down

0 comments on commit b2c0309

Please sign in to comment.