We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8135d81 commit fecf025Copy full SHA for fecf025
1 file changed
CMakeLists.txt
@@ -37,8 +37,8 @@ list(POP_BACK CMAKE_MESSAGE_INDENT)
37
FetchContent_MakeAvailable(osqp)
38
39
configure_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)
+ ${CMAKE_CURRENT_BINARY_DIR}/src/bindings.cpp)
+pybind11_add_module(${OSQP_EXT_MODULE_NAME} ${CMAKE_CURRENT_BINARY_DIR}/src/bindings.cpp)
42
install(TARGETS ${OSQP_EXT_MODULE_NAME} DESTINATION . COMPONENT python)
43
44
# TODO: We shouldn't have to do this once the interfaces are set up correctly
0 commit comments