Remove ngspice scripts from macOS bundle

Apple won't notarize the bundle with those scripts in that area of the bundle.  It appears that we don't use these scripts in KiCad.
This commit is contained in:
Adam Wolf 2021-04-15 11:11:40 -05:00 committed by Seth Hillbrand
parent 68139cdd84
commit d91293eea5
1 changed files with 1 additions and 3 deletions

View File

@ -478,15 +478,13 @@ if( APPLE )
) )
if( KICAD_SPICE ) if( KICAD_SPICE )
# bundle libngspice, codemodels and scripts # bundle libngspice and codemodels
get_filename_component( REAL_LIBNGSPICE ${NGSPICE_LIBRARY} REALPATH ) get_filename_component( REAL_LIBNGSPICE ${NGSPICE_LIBRARY} REALPATH )
get_filename_component( LIBNGSPICE_PATH ${REAL_LIBNGSPICE} DIRECTORY ) get_filename_component( LIBNGSPICE_PATH ${REAL_LIBNGSPICE} DIRECTORY )
install( FILES "${REAL_LIBNGSPICE}" install( FILES "${REAL_LIBNGSPICE}"
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim" ) DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim" )
install( DIRECTORY "${LIBNGSPICE_PATH}/ngspice" install( DIRECTORY "${LIBNGSPICE_PATH}/ngspice"
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim" ) DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim" )
install( DIRECTORY "${LIBNGSPICE_PATH}/../share/ngspice/scripts"
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim/ngspice" )
endif() endif()
else() else()
install( TARGETS eeschema install( TARGETS eeschema