From b844a414c7c0e7b32a43e14b71f30088ec473f46 Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Wed, 31 Jan 2018 10:49:32 -0800 Subject: 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 --- Modules/UseSWIG.cmake | 4 ++-- 1 file 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__EXTRA_DEPS`` Specify extra dependencies for the generated module for ````. -- cgit v0.12