summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-11 16:15:53 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-11 16:15:53 (GMT)
commitc4117d911685d57b505876f2443cc96fb135ca98 (patch)
treea21fc936d97b2496401df8d85e2e7978915a7c41 /Modules
parent736e80dbcafc4c46950688b915e0688f1b817862 (diff)
downloadCMake-c4117d911685d57b505876f2443cc96fb135ca98.zip
CMake-c4117d911685d57b505876f2443cc96fb135ca98.tar.gz
CMake-c4117d911685d57b505876f2443cc96fb135ca98.tar.bz2
ExternalProject: Document that LIST_SEPARATOR works for CMAKE_ARGS too
Since `CMAKE_ARGS` is used to construct the default `CONFIGURE_COMMAND` for CMake-based external projects, the `LIST_SEPARATOR` option works for it too.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 14864d5..7f16fdc 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -807,11 +807,11 @@ External Project Definition
**Miscellaneous Options:**
``LIST_SEPARATOR <sep>``
- For any of the various ``..._COMMAND`` options, replace ``;`` with
- ``<sep>`` in the specified command lines. This can be useful where list
- variables may be given in commands where they should end up as
- space-separated arguments (``<sep>`` would be a single space character
- string in this case).
+ For any of the various ``..._COMMAND`` options, and ``CMAKE_ARGS``,
+ replace ``;`` with ``<sep>`` in the specified command lines.
+ This can be useful where list variables may be given in commands where
+ they should end up as space-separated arguments (``<sep>`` would be a
+ single space character string in this case).
``COMMAND <cmd>...``
Any of the other ``..._COMMAND`` options can have additional commands