When it comes to compatibility, what you're looking for are PCI Express x16 slots on the motherboard. The good news is that just about every modern motherboard has at least one available. The MSI z87-g45 actually has 3, with two of them being well suited for a graphics card.
So yes, that motherboard and that graphics card are compatible.