Add cmake dependencies externally