Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ def cmake_generate():
'-DPYTHON_EXECUTABLE=' + sys.executable,
'-DOTIO_PYTHON_INSTALL:BOOL=ON',
'-DOTIO_CXX_INSTALL:BOOL=ON',
'-DCMAKE_BUILD_TYPE=' + ('Debug' if _ctx.debug else 'Release')
'-DCMAKE_BUILD_TYPE=' + ('Debug' if _ctx.debug else 'Release'),
'-DPYBIND11_FINDPYTHON=ON', # Smart tool to find python's libs: https://pybind11.readthedocs.io/en/latest/compiling.html#findpython-mode
]

python_inst_dir = get_python_lib()
Expand Down