From 23b1d8f03c589a2389879a3161396b494b442845 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 2 Feb 2022 09:59:41 -0500 Subject: CheckPIESupported: Document version adding support for more languages --- Modules/CheckPIESupported.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Modules/CheckPIESupported.cmake b/Modules/CheckPIESupported.cmake index 5919d4b..6424472 100644 --- a/Modules/CheckPIESupported.cmake +++ b/Modules/CheckPIESupported.cmake @@ -23,10 +23,15 @@ property for executables will be honored at link time. ``OUTPUT_VARIABLE `` Set ```` variable with details about any error. + ``LANGUAGES ...`` Check the linkers used for each of the specified languages. - Supported languages are ``C``, ``CXX``, ``OBJC``, ``OBJCXX``, ``Fortran``, - ``CUDA``, and ``HIP``. + + ``C``, ``CXX``, ``Fortran`` are supported. + + .. versionadded:: 3.23 + + ``OBJC``, ``OBJCXX``, ``CUDA``, and ``HIP`` are supported. It makes no sense to use this module when :policy:`CMP0083` is set to ``OLD``, so the command will return an error in this case. See policy :policy:`CMP0083` -- cgit v0.12