Tests/CompileOptions: allow CMAKE_BUILD_TYPE=None
In the same spirit of !5967 (merged).
Allow distributions' check to pass seemlessly.
Issue: #22470
Backport: release
Edited by Brad King
In the same spirit of !5967 (merged).
Allow distributions' check to pass seemlessly.
Issue: #22470
Backport: release