try_compile: support Swift for cross-compilation
Ensure that we preserve the CMAKE_Swift_COMPILER_TARGET
variable to
use cross-compilation for testing the Swift compiler if appropriate.
Ensure that we preserve the CMAKE_Swift_COMPILER_TARGET
variable to
use cross-compilation for testing the Swift compiler if appropriate.