UseSWIG: Clarify documentation of SWIG_OUTFILE_DIR

The `SWIG_OUTFILE_DIR` variable provides the option to specify an output
directory location.  This commit removes portion stating that this is
equal to the `swig -o` option since it does not set the output filename.

Fixes: #17703
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2018-01-31 10:49:32 -08:00
committed by Brad King
parent 315b0927e9
commit b844a414c7

View File

@@ -59,8 +59,8 @@ Some variables can be set to specify special behavior of SWIG:
Specify where to write the language specific files (swig ``-outdir`` option).
``SWIG_OUTFILE_DIR``
Specify where to write the output file (swig ``-o`` option).
If not specified, ``CMAKE_SWIG_OUTDIR`` is used.
Specify an output directory name where the generated source file will be
placed. If not specified, ``CMAKE_SWIG_OUTDIR`` is used.
``SWIG_MODULE_<name>_EXTRA_DEPS``
Specify extra dependencies for the generated module for ``<name>``.