diff options
author | Adriaan de Groot <groot@kde.org> | 2021-12-21 14:38:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-12-21 15:55:43 (GMT) |
commit | b151db01f9ea4ce8a0fb0b8528f2278a4bfb5fc3 (patch) | |
tree | ab16cb4d02db63ef73abbacfc902491f3f0ff9a3 /Help | |
parent | b3a249c2cb90dc462316e69ccb4a9c7b5ba14618 (diff) | |
download | CMake-b151db01f9ea4ce8a0fb0b8528f2278a4bfb5fc3.zip CMake-b151db01f9ea4ce8a0fb0b8528f2278a4bfb5fc3.tar.gz CMake-b151db01f9ea4ce8a0fb0b8528f2278a4bfb5fc3.tar.bz2 |
Help: mention non-existent case for list(PREPEND)
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/list.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/list.rst b/Help/command/list.rst index 621eeb4..33c4f80 100644 --- a/Help/command/list.rst +++ b/Help/command/list.rst @@ -193,7 +193,9 @@ to the given variables and then remove the first `N` values from .. versionadded:: 3.15 -Insert elements to the 0th position in the list. +Insert elements to the 0th position in the list. If no variable named +``<list>`` exists in the current scope its value is treated as empty and +the elements are prepended to that empty list. .. _REMOVE_ITEM: |