Fix incorrect path of 3d stock plugins.
Fixes #7330 https://gitlab.com/kicad/code/kicad/issues/7330
This commit is contained in:
parent
386ead30c5
commit
7a56608cd5
|
@ -165,7 +165,7 @@ wxString PATHS::GetStockPluginsPath()
|
||||||
fn.AppendDir( wxT( "Contents" ) );
|
fn.AppendDir( wxT( "Contents" ) );
|
||||||
fn.AppendDir( wxT( "PlugIns" ) );
|
fn.AppendDir( wxT( "PlugIns" ) );
|
||||||
#elif defined( __WXMSW__ )
|
#elif defined( __WXMSW__ )
|
||||||
fn.Assign( Pgm().GetExecutablePath() + wxT( "../plugins/" ) );
|
fn.Assign( Pgm().GetExecutablePath() + wxT( "/plugins/" ) );
|
||||||
#else
|
#else
|
||||||
// PLUGINDIR = CMAKE_INSTALL_FULL_LIBDIR path is the absolute path
|
// PLUGINDIR = CMAKE_INSTALL_FULL_LIBDIR path is the absolute path
|
||||||
// corresponding to the install path used for constructing KICAD_USER_PLUGIN
|
// corresponding to the install path used for constructing KICAD_USER_PLUGIN
|
||||||
|
|
Loading…
Reference in New Issue