diff options
author | Brad King <brad.king@kitware.com> | 2014-06-25 17:57:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-25 17:57:39 (GMT) |
commit | d08da54576e66336dd6c13219b5fe7cd1a361ac6 (patch) | |
tree | cb169e877719038ab4ac4d0e315e0c2c3a478578 | |
parent | a2d65c66b1c89f26849b805da340059589d7a87d (diff) | |
parent | e932ac9cadc2e87401be5c1fe57cfae1a80c8000 (diff) | |
download | CMake-d08da54576e66336dd6c13219b5fe7cd1a361ac6.zip CMake-d08da54576e66336dd6c13219b5fe7cd1a361ac6.tar.gz CMake-d08da54576e66336dd6c13219b5fe7cd1a361ac6.tar.bz2 |
Merge branch 'UseSWIG-fix-noproxy-check' into release
-rw-r--r-- | Modules/UseSWIG.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake index 11ca205..f8eeef6 100644 --- a/Modules/UseSWIG.cmake +++ b/Modules/UseSWIG.cmake @@ -57,7 +57,7 @@ macro(SWIG_MODULE_INITIALIZE name language) set(SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG "${swig_lowercase_language}") set(SWIG_MODULE_${name}_REAL_NAME "${name}") - if (CMAKE_SWIG_FLAGS MATCHES "-noproxy") + if (";${CMAKE_SWIG_FLAGS};" MATCHES ";-noproxy;") set (SWIG_MODULE_${name}_NOPROXY TRUE) endif () if("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "UNKNOWN") |