diff options
author | Brad King <brad.king@kitware.com> | 2018-10-29 20:17:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-29 20:17:58 (GMT) |
commit | 76d826fffbce5e4333d16525e60b3b929657b08b (patch) | |
tree | 6c3fe878a60b2bb9fbb29e2e9c67407120a8aa9a /Modules | |
parent | 67b19119da98a464870853e9e6c27baad08c445a (diff) | |
parent | 2fc43415efe5cc78fd39e0f600f7fa70dc18b760 (diff) | |
download | CMake-76d826fffbce5e4333d16525e60b3b929657b08b.zip CMake-76d826fffbce5e4333d16525e60b3b929657b08b.tar.gz CMake-76d826fffbce5e4333d16525e60b3b929657b08b.tar.bz2 |
Merge branch 'UseSWIG-typos' into release-3.13
Merge-request: !2542
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/UseSWIG.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake index 31395d9..82fbc4b 100644 --- a/Modules/UseSWIG.cmake +++ b/Modules/UseSWIG.cmake @@ -122,7 +122,7 @@ ensure generated files will receive the required settings. If set to ``TRUE``, contents of target property :prop_tgt:`INCLUDE_DIRECTORIES` will be forwarded to ``SWIG`` compiler. If set to ``FALSE`` target property :prop_tgt:`INCLUDE_DIRECTORIES` will be - ignored. If not set, target property ``SWIG_USE_TARGT_INCLUDE_DIRECTORIES`` + ignored. If not set, target property ``SWIG_USE_TARGET_INCLUDE_DIRECTORIES`` will be considered. ``GENERATED_INCLUDE_DIRECTORIES``, ``GENERATED_COMPILE_DEFINITIONS`` and ``GENERATED_COMPILE_OPTIONS`` @@ -492,7 +492,7 @@ function(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile) MAIN_DEPENDENCY "${swig_source_file_fullname}" DEPENDS ${swig_dependencies} IMPLICIT_DEPENDS CXX "${swig_source_file_fullname}" - COMMENT "Swig source" + COMMENT "Swig compile ${infile} for ${SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG}" COMMAND_EXPAND_LISTS) set_source_files_properties("${swig_generated_file_fullname}" ${swig_extra_generated_files} PROPERTIES GENERATED 1) |