  We describe a method for generating entanglement between two spatially
separated dipoles coupled to optical micro-cavities.
  The protocol works even when the dipoles have different resonant frequencies
and radiative lifetimes.
  This method is particularly important for solid-state emitters, such as
quantum dots, which suffer from large inhomogeneous broadening. We show that
high fidelities can be obtained over a large dipole detuning range without
significant loss of efficiency. We analyze the impact of higher order photon
number states and cavity resonance mismatch on the performance of the protocol.
