[CMake]: only warn when the working directory in a git worktree
- fixes #7559
fix the warning when the working directory is not a git worktree.
CMake Warning at CMake/Version.cmake:34 (message):
git is not found
Call Stack (most recent call first):
CMakeLists.txt:19 (include)
Signed-off-by: Rudi Heitbaum [email protected]
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
@dbaileychess could you please review and let me know if any updates are required. Thanks
@heitbaum I did, did you see my line comment?