cmake: adding KICAD_MACOSX_APP_BUNDLE option

ADDED: with cmake KICAD_MACOSX_APP_BUNDLE option the user can disable
the macOS app bundle creation when compiling on macOS. This permit to
use/install KiCad like any other *nix platform (/usr/bin, /usr/share,
ecc.). By default, cmake build the app bundle.
This commit is contained in:
Davide Gerhard
2022-01-22 20:35:32 +01:00
committed by Seth Hillbrand
parent 7277fd6218
commit ea9f960cc1
27 changed files with 94 additions and 57 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ bool SCRIPTING::scriptingSetup()
wxSetEnv( wxT( "PATH" ), kipython );
}
#endif
#elif defined( __WXMAC__ )
#elif defined( __MACOSX_APP__ )
// Add default paths to PYTHONPATH
wxString pypath;