Don't install Python shell when wxPython support is disabled.
Fixes lp:1760200 https://bugs.launchpad.net/kicad/+bug/1760200
This commit is contained in:
parent
cb2c447c23
commit
efa2a13eaa
|
@ -746,10 +746,12 @@ if( KICAD_SCRIPTING )
|
|||
)
|
||||
|
||||
# python shell
|
||||
install( DIRECTORY ${PROJECT_SOURCE_DIR}/pcbnew/python/kicad_pyshell/
|
||||
DESTINATION ${KICAD_DATA}/scripting/kicad_pyshell
|
||||
FILE_PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
|
||||
)
|
||||
if ( KICAD_SCRIPTING_WXPYTHON )
|
||||
install( DIRECTORY ${PROJECT_SOURCE_DIR}/pcbnew/python/kicad_pyshell/
|
||||
DESTINATION ${KICAD_DATA}/scripting/kicad_pyshell
|
||||
FILE_PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue