Pcbnew: additional scripting build warning fixes.

Add pcbnewPYTHON_wrap.cxx to the list of files to apply -Wno-suggest-override
compiler flag to prevent compiler warnings on file that is generated by SWIG.
This commit is contained in:
Jean-Pierre Charras 2016-10-06 09:06:42 -04:00 committed by Wayne Stambaugh
parent 93a843c022
commit e0fb7f89f4
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ if( KICAD_SCRIPTING )
# Swig generated files do not use the override specifier, therefore # Swig generated files do not use the override specifier, therefore
# disable suggest-override warnings # disable suggest-override warnings
if (COMPILER_SUPPORTS_WSUGGEST_OVERRIDE) if (COMPILER_SUPPORTS_WSUGGEST_OVERRIDE)
set_source_files_properties(pcbnew_wrap.cxx set_source_files_properties( pcbnew_wrap.cxx pcbnewPYTHON_wrap.cxx
PROPERTIES COMPILE_FLAGS -Wno-suggest-override PROPERTIES COMPILE_FLAGS -Wno-suggest-override
) )
endif() endif()