Correct what was meant to be a LINUX compile flag.

(__UNIX__ picks up OSX as well.)

Fixes https://gitlab.com/kicad/code/kicad/issues/7750
This commit is contained in:
Jeff Young 2021-03-08 13:49:21 +00:00
parent 2bc10d58b5
commit a088032411
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ wxString PATHS::GetStockPlugins3DPath()
{
wxFileName fn;
#ifdef __UNIX__
#ifdef __WXGTK__
// KICAD_PLUGINDIR = CMAKE_INSTALL_FULL_LIBDIR path is the absolute path
// corresponding to the install path used for constructing KICAD_USER_PLUGIN
wxString tfname = wxString::FromUTF8Unchecked( KICAD_PLUGINDIR );