Hi, thanks for your very fast answer.
I found this command:
add_custom_command(TARGET executable
POST_BUILD COMMAND
${CMAKE_INSTALL_NAME_TOOL} -add_rpath "@executable_path/../../Frameworks/"
$<TARGET_FILE:executable>)
My problem is: how can I run it recursively to non-system libraries?
Thanks
Angelo