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
|
# python shell
|
||||||
install( DIRECTORY ${PROJECT_SOURCE_DIR}/pcbnew/python/kicad_pyshell/
|
if ( KICAD_SCRIPTING_WXPYTHON )
|
||||||
DESTINATION ${KICAD_DATA}/scripting/kicad_pyshell
|
install( DIRECTORY ${PROJECT_SOURCE_DIR}/pcbnew/python/kicad_pyshell/
|
||||||
FILE_PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
|
DESTINATION ${KICAD_DATA}/scripting/kicad_pyshell
|
||||||
)
|
FILE_PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue