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.
This commit is contained in:
Brad King 2022-03-11 11:15:53 -05:00
parent 736e80dbca
commit c4117d9116

View File

@ -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