Merge topic 'UseSWIG-fix-noproxy-check'

e932ac9c UseSWIG: Fix check for noproxy flag (#14990)
This commit is contained in:
Brad King 2014-06-27 09:42:54 -04:00 committed by CMake Topic Stage
commit 2196cae4ec
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ macro(SWIG_MODULE_INITIALIZE name language)
set(SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG "${swig_lowercase_language}") set(SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG "${swig_lowercase_language}")
set(SWIG_MODULE_${name}_REAL_NAME "${name}") 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) set (SWIG_MODULE_${name}_NOPROXY TRUE)
endif () endif ()
if("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "UNKNOWN") if("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "UNKNOWN")