From 6311c99fc8fb414b30b9965bae973acac515564c Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 5 Dec 2023 16:32:28 +0100 Subject: [PATCH] CMake: update --- CMakeLists.txt | 2 +- bindings/python/CMakeLists.txt | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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)