Fix swig optimization flag causing incompatible codegen

This commit is contained in:
qu1ck 2023-01-07 15:54:18 -08:00 committed by Seth Hillbrand
parent 1e407e5e20
commit a369fd6a9c
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ endforeach()
# i.e. swig_add_footprint()) because we want full control.
# Avoid threading in SWIG (breaks threads in pcbnew)
set( SWIG_OPTS -python -c++ -nothreads -O )
set( SWIG_OPTS -python -c++ -nothreads -fastdispatch -fvirtual )
set( SWIG_OPTS ${SWIG_OPTS} -outdir ${CMAKE_CURRENT_BINARY_DIR} ${SWIG_FLAGS} )