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:
parent
93a843c022
commit
e0fb7f89f4
|
@ -332,7 +332,7 @@ if( KICAD_SCRIPTING )
|
|||
# Swig generated files do not use the override specifier, therefore
|
||||
# disable suggest-override warnings
|
||||
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
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue