blob: a86eed36f1ec7c0ae307f6d4fd9be9b626d300d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Tell the pybind11 CMake module where to find host platform Python. This is
# required when cross-compiling.
pybind11CMakeFlags () {
cmakeFlagsArray+=(
'-DPYBIND11_PYTHONLIBS_OVERWRITE=OFF'
'-DPYTHON_EXECUTABLE=@pythonInterpreter@'
'-DPYTHON_INCLUDE_DIR=@pythonIncludeDir@'
'-DPYTHON_SITE_PACKAGES=@pythonSitePackages@'
)
}
preConfigureHooks+=(pybind11CMakeFlags)
|