CMakePP / CMakeTest

A unit-testing framework for CMake functions
https://cmakepp.github.io/CMakeTest/
Apache License 2.0
10 stars 6 forks source link

Make include_guard in overrides global #92

Closed AutonomicPerfectionist closed 11 months ago

AutonomicPerfectionist commented 11 months ago

Is this pull request associated with an issue(s)? Fixes a very strange bug discovered in https://github.com/CMakePP/CMaize/pull/132 where calling message() would result in infinite recursion.

Description Turns out include_guard() only works for the current scope by default, so we needed to add an argument to make it a global guard.

TODOs

github-actions[bot] commented 11 months ago

🚀 [bumpr] Bumped! New version:v0.1.9 Changes:v0.1.8...v0.1.9