diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2017-04-17 07:38:14 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-04-17 14:14:44 -0700 |
commit | c900eaab783c3fd147941a0c3f53fac4ed35e377 (patch) | |
tree | 1cc94710fc48da041270325534ef8cb4066f93cf /cmake | |
parent | 6cb4957bc31eb649365b80df57e7124cb0e6bc9b (diff) |
runtime: turn off spurious SWIG warning about self
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/GrSwig.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GrSwig.cmake b/cmake/Modules/GrSwig.cmake index 7d1d76ca54..0530dad80d 100644 --- a/cmake/Modules/GrSwig.cmake +++ b/cmake/Modules/GrSwig.cmake @@ -179,7 +179,7 @@ macro(GR_SWIG_MAKE name) list(APPEND SWIG_MODULE_${name}_EXTRA_DEPS ${tag_file}) #setup the swig flags with flags and include directories - set(CMAKE_SWIG_FLAGS -fvirtual -modern -keyword -w511 -module ${name} ${GR_SWIG_FLAGS}) + set(CMAKE_SWIG_FLAGS -fvirtual -modern -keyword -w511 -w314 -module ${name} ${GR_SWIG_FLAGS}) #set the C++ property on the swig .i file so it builds set_source_files_properties(${ifiles} PROPERTIES CPLUSPLUS ON) |