mingw64-cmake: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/mingw64-cmake - from package: mingw64-filesystem

You may install the required package with command yum install {package}
Error in other languages:
mingw64-cmake: bevel nie gevind nie
mingw64-cmake: comandă negăsită
mingw64-cmake: comando não encontrado
mingw64-cmake: commande introuvable
mingw64-cmake: command not found
mingw64-cmake: käsku ei ole
mingw64-cmake: không tìm thấy lệnh
mingw64-cmake: komanda nerasta
mingw64-cmake: Kommando nicht gefunden.
mingw64-cmake: kommandot finns inte
mingw64-cmake: komut yok
mingw64-cmake: nie znaleziono polecenia
mingw64-cmake: níor aimsíodh an t-ordú
mingw64-cmake: no se encontró la orden
mingw64-cmake: no s'ha trobat l'ordre
mingw64-cmake: opdracht niet gevonden
mingw64-cmake: parancs nem található
mingw64-cmake: perintah tidak ditemukan
mingw64-cmake: príkaz nenájdený
mingw64-cmake: příkaz nenalezen
mingw64-cmake: команда не найдена
mingw64-cmake: командата не е открита
mingw64-cmake: 命令找不到
mingw64-cmake: コマンドが見つかりません