diff --git a/Help/variable/CMAKE_LANG_DEVICE_LINK_MODE.rst b/Help/variable/CMAKE_LANG_DEVICE_LINK_MODE.rst index 442de8a2db..8ab1de3b03 100644 --- a/Help/variable/CMAKE_LANG_DEVICE_LINK_MODE.rst +++ b/Help/variable/CMAKE_LANG_DEVICE_LINK_MODE.rst @@ -10,3 +10,5 @@ Defines how the device link step is done. The possible values are: ``LINKER`` The linker is used directly for the device link step. + +This variable is read-only. Setting it is undefined behavior. diff --git a/Help/variable/CMAKE_LANG_LINK_MODE.rst b/Help/variable/CMAKE_LANG_LINK_MODE.rst index f69818f973..60256714fa 100644 --- a/Help/variable/CMAKE_LANG_LINK_MODE.rst +++ b/Help/variable/CMAKE_LANG_LINK_MODE.rst @@ -10,3 +10,5 @@ Defines how the link step is done. The possible values are: ``LINKER`` The linker is used directly for the link step. + +This variable is read-only. Setting it is undefined behavior.