File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,6 +126,3 @@ scratch/
126126
127127# setuptools-scm managed version file
128128src /osqp /_version.py
129-
130- # files that are modified in the build process
131- src /osqp /bindings.cpp
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ list(POP_BACK CMAKE_MESSAGE_INDENT)
3737FetchContent_MakeAvailable (osqp)
3838
3939configure_file (${CMAKE_CURRENT_SOURCE_DIR} /src/bindings.cpp.in
40- ${CMAKE_CURRENT_SOURCE_DIR } /src/bindings.cpp )
41- pybind11_add_module (${OSQP_EXT_MODULE_NAME} src/bindings.cpp )
40+ ${CMAKE_CURRENT_BINARY_DIR } /src/bindings.cpp )
41+ pybind11_add_module (${OSQP_EXT_MODULE_NAME} ${CMAKE_CURRENT_BINARY_DIR} / src/bindings.cpp )
4242install (TARGETS ${OSQP_EXT_MODULE_NAME} DESTINATION . COMPONENT python)
4343
4444# TODO: We shouldn't have to do this once the interfaces are set up correctly
You can’t perform that action at this time.
0 commit comments