File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ find_package(GLPK QUIET)
289289if (${GLPK_FOUND} )
290290 message ("Adding src/solvers/GLPKBackEnd.cpp to compilation" )
291291 add_library (OpenSotBackEndGLPK SHARED src/solvers/GLPKBackEnd.cpp )
292- target_link_libraries (OpenSotBackEndGLPK OpenSoT ${GLPK_LIBRARY} )
292+ target_link_libraries (OpenSotBackEndGLPK OpenSoT matlogger2::matlogger2 ${GLPK_LIBRARY} )
293293 library_install (OpenSotBackEndGLPK 1 0 0 )
294294endif ()
295295
Original file line number Diff line number Diff line change @@ -93,24 +93,25 @@ if(${pybind11_FOUND})
9393 LIBRARY DESTINATION "~/.local/lib/python${Python3_VERSION_MAJOR} .${Python3_VERSION_MINOR} /site-packages"
9494 ARCHIVE DESTINATION "lib"
9595 RUNTIME DESTINATION "bin" )
96- endif ()
9796
9897
9998
100- set (OPENSOT_BINDINGS_oc_SOURCES pyopensot_oc.cpp oc.hpp)
99+ set (OPENSOT_BINDINGS_oc_SOURCES pyopensot_oc.cpp oc.hpp)
101100
102- include_directories (${CMAKE_CURRENT_SOURCE_DIR} )
103- pybind11_add_module (pyopensot_oc ${OPENSOT_BINDINGS_oc_SOURCES} )
101+ include_directories (${CMAKE_CURRENT_SOURCE_DIR} )
102+ pybind11_add_module (pyopensot_oc ${OPENSOT_BINDINGS_oc_SOURCES} )
104103
105- target_link_libraries (pyopensot_oc PUBLIC OpenSoT OpenSothpipmOC )
104+ target_link_libraries (pyopensot_oc PUBLIC OpenSoT OpenSothpipmOC )
106105
107- find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
106+ find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
108107
109- install (TARGETS pyopensot_oc
110- COMPONENT python
111- LIBRARY DESTINATION "~/.local/lib/python${Python3_VERSION_MAJOR} .${Python3_VERSION_MINOR} /site-packages"
112- ARCHIVE DESTINATION "lib"
113- RUNTIME DESTINATION "bin" )
108+ install (TARGETS pyopensot_oc
109+ COMPONENT python
110+ LIBRARY DESTINATION "~/.local/lib/python${Python3_VERSION_MAJOR} .${Python3_VERSION_MINOR} /site-packages"
111+ ARCHIVE DESTINATION "lib"
112+ RUNTIME DESTINATION "bin" )
113+
114+ endif ()
114115
115116
116117else ()
Original file line number Diff line number Diff line change 11#include < OpenSoT/solvers/GLPKBackEnd.h>
2- #include < OpenSoT/utils/SoLib.h>
32#include < memory>
43#include < boost/date_time.hpp>
54
You can’t perform that action at this time.
0 commit comments