summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-27 13:42:54 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-06-27 13:42:54 (GMT)
commit2196cae4ecae60711b6ef6ad6def9b7b988b4eb7 (patch)
tree49c3bb05e95b4e51541e1c93afd02c7e886616a7 /Modules
parenta87e8056acf733c4ee3cbd87bc21966918bd8659 (diff)
parente932ac9cadc2e87401be5c1fe57cfae1a80c8000 (diff)
downloadCMake-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.cmake2
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")