[MacOSX] Avoid race between cmake -E copy_directory, which triggers a build error when using an high parallelism

This commit is contained in:
Marco Serantoni 2014-02-26 21:46:25 +01:00
parent fbecc0d9ce
commit e009721982
1 changed files with 7 additions and 0 deletions

View File

@ -618,6 +618,13 @@ if( KICAD_SCRIPTING )
# fix bundle after copying wxpython, fixing and copying
add_dependencies( osx_fix_bundles pcbnew_copy_wxpython_scripting )
if ( KICAD_SCRIPTING_MODULES )
#they do more or less the same job, avoid race between them
#Cmake copy goes in error otherwise
add_dependencies( pcbnew_copy_wxpython_scripting pcbnew_copy_wxpython_module )
endif()
endif()
endif()