diff --git a/CMakeLists.txt b/CMakeLists.txt index 86e4f312..1d557f99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -310,7 +310,7 @@ target_link_libraries(${PROJECT_NAME} PUBLIC pinocchio::pinocchio if(BUILD_WITH_PROXQP) target_compile_definitions(${PROJECT_NAME} PUBLIC -DTSID_WITH_PROXSUITE) - target_link_libraries(${PROJECT_NAME} PUBLIC ${proxsuite_INTERFACE}) + target_link_libraries(${PROJECT_NAME} PUBLIC proxsuite::proxsuite) endif() if(BUILD_WITH_OSQP) diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt index a2a735fa..46c189a9 100644 --- a/bindings/python/CMakeLists.txt +++ b/bindings/python/CMakeLists.txt @@ -112,7 +112,5 @@ install( set(PYTHON_FILES __init__.py) foreach(python ${PYTHON_FILES}) - python_build(${PROJECT_NAME} ${python}) - install(FILES "${${PROJECT_NAME}_SOURCE_DIR}/bindings/python/tsid/${python}" - DESTINATION ${${PYWRAP}_INSTALL_DIR}) + python_install(${PROJECT_NAME} ${python} ${${PYWRAP}_INSTALL_DIR}) endforeach(python)