Help: Document version when COMPILE_LANGUAGE genex accepts multiple languages

This commit is contained in:
Michael Hirsch
2022-10-12 00:44:27 -04:00
committed by Brad King
parent 16f37ea7a0
commit 9e8b8bf4ef

View File

@@ -847,6 +847,10 @@ related to most of the expressions in this sub-section.
.. versionadded:: 3.3
.. versionchanged:: 3.15
Multiple languages can be specified for ``languages``.
CMake 3.14 and earlier only accepted a single language.
``1`` when the language used for compilation unit matches any of the
comma-separated entries in ``languages``, otherwise ``0``. This expression
may be used to specify compile options, compile definitions, and include