summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNoel Eck <noel.eck@intel.com>2018-01-31 18:49:32 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-31 19:22:24 (GMT)
commitb844a414c7c0e7b32a43e14b71f30088ec473f46 (patch)
tree54d2f5830b4c377a35e9d81bed67d077b51b9423 /Modules
parent315b0927e951019b43714f654f7b039b32ae14a9 (diff)
downloadCMake-b844a414c7c0e7b32a43e14b71f30088ec473f46.zip
CMake-b844a414c7c0e7b32a43e14b71f30088ec473f46.tar.gz
CMake-b844a414c7c0e7b32a43e14b71f30088ec473f46.tar.bz2
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>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/UseSWIG.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index 9a6d046..b38e2b7 100644
--- a/Modules/UseSWIG.cmake
+++ b/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>``.