Skip to content

cmake: Fix GetGitRevisionDescription cmake module for MSys

samuel degrande requested to merge sdegrande/monado:mine/build_with_mingw64 into main

When running in an msys environment and in a git worktree directory, the git revision is not found.

This patch converts the git_worktree_dir variable to the windows format, by adding the windows prefix of the msys root dir, so that the HEAD file of the worktree can be found and used by the module.

Merge request reports