From e0fb7f89f4e92d57e5c343f55eb7a396de39858c Mon Sep 17 00:00:00 2001 From: Jean-Pierre Charras Date: Thu, 6 Oct 2016 09:06:42 -0400 Subject: [PATCH] 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. --- pcbnew/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt index a0f281f154..040f8e94a1 100644 --- a/pcbnew/CMakeLists.txt +++ b/pcbnew/CMakeLists.txt @@ -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()