Improve new/old cmake cross relocation
This is an improved fix to #62 (closed) because !184 (merged) only took care of direct dependencies of old cmake projects to new cmake ones, but that does not work if the new style cmake project is buried deeper in the dependency tree.