@ -56,7 +56,7 @@ option( KICAD_SCRIPTING
)
option( KICAD_SCRIPTING_MODULES
"Build KiCad Python modules that can be used from scripting languages (default OFF)."
"Build native portion of the pcbnew Python module: _pcbnew.{pyd,so} for OS command line use of Python."
option( KICAD_SCRIPTING_WXPYTHON
@ -5,8 +5,6 @@ add_subdirectory(router)
# psnrouter depends on make_lexer outputs in common (bug # 1285878 )
add_dependencies( pnsrouter pcbcommon )
set( WXPYTHON_SWIG_DIR /usr/include/wx-3.0/wx/wxPython/i_files )
if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES )
file( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripting )