Revert "cmake: adding KICAD_MACOSX_APP_BUNDLE option"

This reverts commit ea9f960cc1.

Reverted for updates as this currently breaks kicad-mac-builder
This commit is contained in:
Seth Hillbrand
2022-01-31 15:57:56 -08:00
parent 88a58803ca
commit 098e8f7d9b
27 changed files with 57 additions and 94 deletions
+3 -3
View File
@@ -52,7 +52,7 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
// Otherwise don't set it.
maybe.AddPaths( wxGetenv( wxT( "KICAD" ) ) );
#ifdef __MACOSX_APP__
#ifdef __WXMAC__
// Add the directory for the user-dependent, program specific data files.
maybe.AddPaths( PATHS::GetOSXKicadUserDataDir() );
@@ -137,7 +137,7 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
{
wxFileName fn( maybe[i], wxEmptyString );
#ifndef __MACOSX_APP__
#ifndef __WXMAC__
if( fn.GetPath().AfterLast( fn.GetPathSeparator() ) == wxT( "bin" ) )
{
fn.RemoveLastDir();
@@ -149,7 +149,7 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
aSearchStack->AddPaths( fn.GetPath() );
#ifndef __MACOSX_APP__
#ifndef __WXMAC__
fn.AppendDir( wxT( "kicad" ) );
aSearchStack->AddPaths( fn.GetPath() ); // add maybe[i]/kicad