[Cmake-commits] CMake branch, next, updated. v2.8.12.1-5695-gb5f3f54
Julien Schueller
schueller at phimeca.com
Sat Nov 23 02:58:05 EST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via b5f3f54269327c07f77424ca0b10fbbacc1f0124 (commit)
via b85f0d7d9c8825e92caa23682d36172fe82178bf (commit)
via 26ccafea462604180cc900d92e087eff4c0bfe85 (commit)
from ddd5df1687c02b46485b1ecabc9cb83d76956e4a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b5f3f54269327c07f77424ca0b10fbbacc1f0124
commit b5f3f54269327c07f77424ca0b10fbbacc1f0124
Merge: ddd5df1 b85f0d7
Author: Julien Schueller <schueller at phimeca.com>
AuthorDate: Sat Nov 23 02:58:03 2013 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat Nov 23 02:58:03 2013 -0500
Merge topic 'UseSWIG-fix14520' into next
b85f0d7 Removed duplicate include dirs to shorten swig command line
26ccafe CMake Nightly Date Stamp
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b85f0d7d9c8825e92caa23682d36172fe82178bf
commit b85f0d7d9c8825e92caa23682d36172fe82178bf
Author: Julien Schueller <schueller at phimeca.com>
AuthorDate: Sat Nov 23 08:57:04 2013 +0100
Commit: Julien Schueller <schueller at phimeca.com>
CommitDate: Sat Nov 23 08:57:04 2013 +0100
Removed duplicate include dirs to shorten swig command line
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index 00f3e21..f4aeebc 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -159,6 +159,7 @@ macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
#message("Full path to source file: ${swig_source_file_fullname}")
#message("Full path to the output file: ${swig_generated_file_fullname}")
get_directory_property(cmake_include_directories INCLUDE_DIRECTORIES)
+ list(REMOVE_DUPLICATES cmake_include_directories)
set(swig_include_dirs)
foreach(it ${cmake_include_directories})
set(swig_include_dirs ${swig_include_dirs} "-I${it}")
-----------------------------------------------------------------------
Summary of changes:
Modules/UseSWIG.cmake | 1 +
Source/CMakeVersion.cmake | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list