cmake-modules icon indicating copy to clipboard operation
cmake-modules copied to clipboard

[GetGitRevisionDescription] Fix submodule check

Open jleveque opened this issue 2 years ago • 0 comments

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.

jleveque avatar Jul 19 '22 04:07 jleveque