diff options
author | Brad King <brad.king@kitware.com> | 2014-06-27 13:42:54 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-06-27 13:42:54 (GMT) |
commit | 2196cae4ecae60711b6ef6ad6def9b7b988b4eb7 (patch) | |
tree | 49c3bb05e95b4e51541e1c93afd02c7e886616a7 /Modules | |
parent | a87e8056acf733c4ee3cbd87bc21966918bd8659 (diff) | |
parent | e932ac9cadc2e87401be5c1fe57cfae1a80c8000 (diff) | |
download | CMake-2196cae4ecae60711b6ef6ad6def9b7b988b4eb7.zip CMake-2196cae4ecae60711b6ef6ad6def9b7b988b4eb7.tar.gz CMake-2196cae4ecae60711b6ef6ad6def9b7b988b4eb7.tar.bz2 |
Merge topic 'UseSWIG-fix-noproxy-check'
e932ac9c UseSWIG: Fix check for noproxy flag (#14990)
Diffstat (limited to 'Modules')
-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 918e2ec..31ab48d 100644 --- a/Modules/UseSWIG.cmake +++ b/Modules/UseSWIG.cmake @@ -73,7 +73,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") |