Browse Source

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 <[email protected]>
Noel Eck 7 years ago
parent
commit
b844a414c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Modules/UseSWIG.cmake

+ 2 - 2
Modules/UseSWIG.cmake

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