[CMake]: Fix python command for mingw environment (#6984)
authorBiswapriyo Nath <nathbappai@gmail.com>
Fri, 10 Dec 2021 19:28:24 +0000 (00:58 +0530)
committerGitHub <noreply@github.com>
Fri, 10 Dec 2021 19:28:24 +0000 (11:28 -0800)
commit705f27f6eef3070dd864c3d5bdbcb25b44e2eb7e
treebaf6d27f90e6359422479b80527efb9d1b0aeadc
parent5fc87f4c4bf04228039c752003931d58a33e7a1b
[CMake]: Fix python command for mingw environment (#6984)

In mingw build environment, this fixes the build error:
'py' is not recognized as an internal or external command
The 'py' launcher is available for MSVC python only. More
https://docs.python.org/3/using/windows.html#from-the-command-line
CMakeLists.txt