Update python lookup in CMakeLists.txt to match build.(sh|cmd) (#22145)
authorOmair Majid <omajid@redhat.com>
Thu, 31 Jan 2019 21:09:35 +0000 (16:09 -0500)
committerAaron Robinson <arobins@microsoft.com>
Thu, 31 Jan 2019 21:09:34 +0000 (13:09 -0800)
commite7c6f87f54be723724a4c996d815d59b515b01a6
treea051104a816a2cdd79243164b21db247510154ec
parent1b50d965d4a3ff23dd8d95b02d28b6a5c5cec6a2
Update python lookup in CMakeLists.txt to match build.(sh|cmd) (#22145)

Use the same logic that's used in build.sh/build.cmd to lookup python:
first search for `python3`, then fall back to `python2` and finally to
`python`.
CMakeLists.txt