Fix for bug #1285878, build fails with clean repository and high parallelism due missing dependance between router and pcbcommon

This commit is contained in:
Marco Serantoni 2014-02-27 23:56:16 +01:00
parent 2c69b7f512
commit 9413b30567
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@ set( MAKE_LINK_MAPS false )
add_definitions( -DPCBNEW ) add_definitions( -DPCBNEW )
add_subdirectory(router) add_subdirectory(router)
# psnrouter depends on make_lexer outputs in common (bug # 1285878 )
add_dependencies( pnsrouter pcbcommon )
if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES ) if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES )
file( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripting ) file( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripting )
find_package( SWIG REQUIRED ) find_package( SWIG REQUIRED )