Skip to content

Commit

Permalink
Fix use double leading underscore in python swig bindings library name
Browse files Browse the repository at this point in the history
Fix #984
  • Loading branch information
traversaro committed Sep 23, 2024
1 parent 5ecb107 commit c1b007a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ if(CREATE_PYTHON)
LANGUAGE python
SOURCES icub.i)
target_link_libraries(${SWIG_MODULE_icub_python_REAL_NAME} Python::Python ${ICUB_SWIG_LIBRARIES})
set_target_properties(${SWIG_MODULE_icub_python_REAL_NAME} PROPERTIES OUTPUT_NAME "_icub")

# installation path is determined reliably on most platforms using distutils
execute_process(COMMAND ${Python_EXECUTABLE} -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1,0,prefix=''))"
Expand Down

0 comments on commit c1b007a

Please sign in to comment.