[MacOSX] Avoid race between cmake -E copy_directory, which triggers a build error when using an high parallelism
This commit is contained in:
parent
eb25a2d42b
commit
9bdb0086b4
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue