Bundle libngspice, code models and init scripts for macOS
This commit is contained in:
parent
c960d671cd
commit
d3f23a62ec
|
@ -370,6 +370,18 @@ if( APPLE )
|
||||||
)
|
)
|
||||||
" COMPONENT Runtime
|
" COMPONENT Runtime
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if( KICAD_SPICE )
|
||||||
|
# bundle libngspice, codemodels and scripts
|
||||||
|
get_filename_component( REAL_LIBNGSPICE ${NGSPICE_LIBRARY} REALPATH )
|
||||||
|
get_filename_component( LIBNGSPICE_PATH ${REAL_LIBNGSPICE} DIRECTORY )
|
||||||
|
install( FILES "${REAL_LIBNGSPICE}"
|
||||||
|
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim" )
|
||||||
|
install( DIRECTORY "${LIBNGSPICE_PATH}/ngspice"
|
||||||
|
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim" )
|
||||||
|
install( DIRECTORY "${LIBNGSPICE_PATH}/../share/ngspice/scripts"
|
||||||
|
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim/ngspice" )
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
install( TARGETS eeschema
|
install( TARGETS eeschema
|
||||||
DESTINATION ${KICAD_BIN}
|
DESTINATION ${KICAD_BIN}
|
||||||
|
|
Loading…
Reference in New Issue