robotology / wb-toolbox

Simulink toolbox to rapidly prototype robot controllers
https://robotology.github.io/wb-toolbox/
GNU Lesser General Public License v2.1
24 stars 17 forks source link

Do not overwrite default linker flags so that LDFLAGS environment variable is considered #204

Closed traversaro closed 3 years ago

traversaro commented 3 years ago

If one wants to specify additional linked flags, those should be appended to CMAKE_SHARED_LINKER_FLAGS, not overwrite it as this would lead to the LDFLAGS environment variable to be ignored, leading to linking errors in some environments (for example conda).

For more details see:

traversaro commented 3 years ago

@diegoferigo can we merge?