I finally updated by KiCAD directions
https://wiki.codeblocks.org/index.php/KiCadBuildQuickRefI can not help you without more information; but, I am afraid it might be off topic to help you on this site.
If you can understand how to install MSys2 and use cmake on the command line I will try to help you. Using the CMAKE GUI is not a good way for anyone to help you.
https://www.msys2.org/If you can do the above post an link to one of the projects you want to use that is open source.
Tim S.