Fix swig optimization flag causing incompatible codegen
This commit is contained in:
parent
1e407e5e20
commit
a369fd6a9c
|
@ -451,7 +451,7 @@ endforeach()
|
||||||
# i.e. swig_add_footprint()) because we want full control.
|
# i.e. swig_add_footprint()) because we want full control.
|
||||||
|
|
||||||
# Avoid threading in SWIG (breaks threads in pcbnew)
|
# 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} )
|
set( SWIG_OPTS ${SWIG_OPTS} -outdir ${CMAKE_CURRENT_BINARY_DIR} ${SWIG_FLAGS} )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue