Closed traversaro closed 5 years ago
To avoid problems in finding the library /lib/libFMIActuatorPlugin.so when installed, we should add the necessary CMake code to handle rpath.
/lib/libFMIActuatorPlugin.so
The following three lines from https://github.com/robotology/how-to-export-cpp-library/blob/782e9b1b13867686463b2a8a5b2b9d67aa176099/CMakeLists.txt#L106 should work fine (assuming that we also update the AddInstallRPATHSupport contained in the cmake dir of this repo).
AddInstallRPATHSupport
cmake
Fixed (a bit in a silent way) in https://github.com/robotology/gazebo-fmi/pull/60 .
To avoid problems in finding the library
/lib/libFMIActuatorPlugin.so
when installed, we should add the necessary CMake code to handle rpath.The following three lines from https://github.com/robotology/how-to-export-cpp-library/blob/782e9b1b13867686463b2a8a5b2b9d67aa176099/CMakeLists.txt#L106 should work fine (assuming that we also update the
AddInstallRPATHSupport
contained in thecmake
dir of this repo).