cmake-modules
cmake-modules copied to clipboard
[GetGitRevisionDescription] Fix submodule check
Fix inverted logic when checking if we are in a Git submodule. If we are in a submodule, out
will be empty (as the comment correctly states). Therefore, we need to enter this block of code if out
is empty, rather than not empty.