How to automatically checkout git repository after FetchContent_MakeAvailable

The topic has been discussed before.
The module only guarantees that the right commit is checked-out. If you really need to check out a branch, you have to do it by yourself.

1 Like