Back to Cmake

Swift_LANGUAGE_VERSION

Help/prop_tgt/Swift_LANGUAGE_VERSION.rst

4.3.2309 B
Original Source

Swift_LANGUAGE_VERSION

.. versionadded:: 3.16

This property sets the language version for the Swift sources in the target. If one is not specified, it will default to :variable:CMAKE_Swift_LANGUAGE_VERSION if specified, otherwise it is the latest version supported by the compiler.