Swift: honour `-swift-version` in Ninja generator
Swift has supported CMAKE_Swift_LANGUAGE_VERSION
and
Swift_LANGUAGE_VERSION
but didn't apply that to Ninja generated
targets. Consider the property when calculating the flags.
Swift has supported CMAKE_Swift_LANGUAGE_VERSION
and
Swift_LANGUAGE_VERSION
but didn't apply that to Ninja generated
targets. Consider the property when calculating the flags.