Use `${PYTHON_EXECUTABLE}` instead of `py` in cmake (#7042)
authorDerek Bailey <derekbailey@google.com>
Fri, 28 Jan 2022 23:00:57 +0000 (15:00 -0800)
committerGitHub <noreply@github.com>
Fri, 28 Jan 2022 23:00:57 +0000 (15:00 -0800)
commitdbbaeac85c95eda8cbed3955d969196d131372f7
tree8220b28a8371d754af6f48adceedec180da839fd
parent028f0fde6286b5fc7b1adddf76ba111b0a0fcfb7
Use `${PYTHON_EXECUTABLE}` instead of `py` in cmake (#7042)

* Emit include for bfbs-gen-embed

* Use python3 explicitly

* bump min python version to 3.6

* Sort find_package for python

* try casting Path to string

* cast WindowsPath to string to please CI

* stringify the wrong thing

* another stringify path
CMakeLists.txt
scripts/generate_code.py