arrowdodger <6yearold at gmail.com> writes: > The problem is that find_library sets its output variable to something like > "/usr/local/lib/libffi.so". I'm not sure how to get "/usr/local/lib" part > from it. get_filename_component will do that.