summaryrefslogtreecommitdiffstats
path: root/Modules/CheckPIESupported.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-02 14:59:41 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-03 12:53:45 (GMT)
commit23b1d8f03c589a2389879a3161396b494b442845 (patch)
tree252e5d36bd06c8c3fd42d9f9207e239903a8fce4 /Modules/CheckPIESupported.cmake
parentd738939355f73bc2e1b85d80b49564455b62b60b (diff)
downloadCMake-23b1d8f03c589a2389879a3161396b494b442845.zip
CMake-23b1d8f03c589a2389879a3161396b494b442845.tar.gz
CMake-23b1d8f03c589a2389879a3161396b494b442845.tar.bz2
CheckPIESupported: Document version adding support for more languages
Diffstat (limited to 'Modules/CheckPIESupported.cmake')
-rw-r--r--Modules/CheckPIESupported.cmake9
1 files 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 <output>``
Set ``<output>`` variable with details about any error.
+
``LANGUAGES <lang>...``
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`