From 93ab0d8955cee9f4cdf54972b2b3206352be6928 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Thu, 16 Nov 2023 13:43:46 +0100 Subject: [PATCH] BuildICUB: specify full path for Python bindings installation Fix https://github.com/robotology/robotology-superbuild/issues/1519 . --- cmake/BuildICUB.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/BuildICUB.cmake b/cmake/BuildICUB.cmake index c213b6852..4efa73687 100644 --- a/cmake/BuildICUB.cmake +++ b/cmake/BuildICUB.cmake @@ -49,7 +49,7 @@ else() endif() if(ROBOTOLOGY_USES_PYTHON AND NOT ROBOTOLOGY_GENERATE_CONDA_RECIPES) - set(ICUB_PYTHON_INSTALL_CMAKE_ARGS "-DCMAKE_INSTALL_PYTHONDIR=${ROBOTOLOGY_SUPERBUILD_PYTHON_INSTALL_DIR}") + set(ICUB_PYTHON_INSTALL_CMAKE_ARGS "-DCMAKE_INSTALL_PYTHONDIR=${YCM_EP_INSTALL_DIR}/${ROBOTOLOGY_SUPERBUILD_PYTHON_INSTALL_DIR}") else() set(ICUB_PYTHON_INSTALL_CMAKE_ARGS "") endif()