From 8809d5580e7ed5943cd60d2999f51deec8ce2645 Mon Sep 17 00:00:00 2001 From: Marco Serantoni Date: Mon, 10 Mar 2014 23:37:59 +0100 Subject: [PATCH] [MacOSX] fixes some interations with KicadOSXBuilder --- pcbnew/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt index 03986fd836..87455ff48e 100644 --- a/pcbnew/CMakeLists.txt +++ b/pcbnew/CMakeLists.txt @@ -661,9 +661,11 @@ if( KICAD_SCRIPTING_MODULES ) COMMENT "Copying wxPython into pcbnew.app Frameworks" ) - # Tell that we have to run osx_fix_bundles fix after building _pcbnew and migrating wxPython - add_dependencies( osx_fix_bundles pcbnew_copy_wxpython_module ) - add_dependencies( osx_fix_bundles _pcbnew ) + if( KICAD_BUILD_DYNAMIC ) + # Tell that we have to run osx_fix_bundles fix after building _pcbnew and migrating wxPython + add_dependencies( osx_fix_bundles pcbnew_copy_wxpython_module ) + add_dependencies( osx_fix_bundles _pcbnew ) + endif() endif() endif()