summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-02-27 16:22:57 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-02-27 16:22:57 (GMT)
commit258298f59799311ad6a3f261f7e7bebcaf346657 (patch)
tree454342de51403b5c138d809e0b608109bbcc392a /Help
parentb13a8441cd1338ac9f8352a4df54759a1b19088a (diff)
downloadCMake-258298f59799311ad6a3f261f7e7bebcaf346657.zip
CMake-258298f59799311ad6a3f261f7e7bebcaf346657.tar.gz
CMake-258298f59799311ad6a3f261f7e7bebcaf346657.tar.bz2
Help: Clarify ordering of list(REMOVE_DUPLICATES)
This also adds a test to enforce the order behavior of list(REMOVE_DUPLICATES).
Diffstat (limited to 'Help')
-rw-r--r--Help/command/list.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/list.rst b/Help/command/list.rst
index 6c86c2a..4444af7 100644
--- a/Help/command/list.rst
+++ b/Help/command/list.rst
@@ -196,7 +196,8 @@ Removes items at given indices from the list.
list(REMOVE_DUPLICATES <list>)
-Removes duplicated items in the list.
+Removes duplicated items in the list. The relative order of items is preserved,
+but if duplicates are encountered, only the first instance is preserved.
.. _TRANSFORM: