1 # Tell the pybind11 CMake module where to find host platform Python. This is
2 # required when cross-compiling.
3 pybind11CMakeFlags
() {
5 '-DPYBIND11_PYTHONLIBS_OVERWRITE=OFF'
6 '-DPYTHON_EXECUTABLE=@pythonInterpreter@'
7 '-DPYTHON_INCLUDE_DIR=@pythonIncludeDir@'
8 '-DPYTHON_SITE_PACKAGES=@pythonSitePackages@'
12 preConfigureHooks
+=(pybind11CMakeFlags
)