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
Probably should investigate usages of include_guard() elsewhere as well
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
include_guard()
elsewhere as well