gazebosim / gz-cmake

A set of CMake modules that are used by the C++-based Gazebo projects.
https://gazebosim.org/libs/cmake
Apache License 2.0
27 stars 31 forks source link

Backport GZ_SANITIZER variable #294

Closed scpeters closed 2 years ago

scpeters commented 2 years ago

🎉 New feature

Backport a feature to simplify the fixing of cmake deprecation warnings in CI

Summary

This backports the GZ_SANITIZER variable so that it can be used in jenkins and fix some cmake deprecation warnings.

CMake Deprecation Warning at cmake/GzSanitizers.cmake:58 (message):
  Ign prefixed variable [IGN_SANITIZER] is deprecated! Use [GZ_SANITIZER]
  instead!
Call Stack (most recent call first):
  cmake/GzCMake.cmake:33 (include)
  CMakeLists.txt:19 (include)

Test it

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.