summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Thiel <heiko.thiel@hpi.de>2021-06-23 15:24:09 (GMT)
committerHeiko Thiel <heiko.thiel@hpi.de>2021-06-23 15:24:09 (GMT)
commit0106842af437923eb92d5077105631dc575ed51b (patch)
tree4a62fc59c4a0d8eab68839bb0b7c2416db51e9d8
parenta6639a43bde2b7c67311018719bb6f4bdb819415 (diff)
downloadCMake-0106842af437923eb92d5077105631dc575ed51b.zip
CMake-0106842af437923eb92d5077105631dc575ed51b.tar.gz
CMake-0106842af437923eb92d5077105631dc575ed51b.tar.bz2
Help: Clarify condition of tree command from source_group.
-rw-r--r--Help/command/source_group.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/source_group.rst b/Help/command/source_group.rst
index a4b5bf1..83ae286 100644
--- a/Help/command/source_group.rst
+++ b/Help/command/source_group.rst
@@ -22,7 +22,8 @@ The options are:
CMake will automatically detect, from ``<src>`` files paths, source groups
it needs to create, to keep structure of source groups analogically to the
actual files and directories structure in the project. Paths of ``<src>``
- files will be cut to be relative to ``<root>``.
+ files will be cut to be relative to ``<root>``. The command fails if the
+ paths within ``src`` do not start with ``root``.
``PREFIX``
.. versionadded:: 3.8