From 9413b30567be85f9ab4bce67874103dc0134b1a6 Mon Sep 17 00:00:00 2001 From: Marco Serantoni Date: Thu, 27 Feb 2014 23:56:16 +0100 Subject: [PATCH] Fix for bug #1285878, build fails with clean repository and high parallelism due missing dependance between router and pcbcommon --- pcbnew/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt index de18ccad30..03986fd836 100644 --- a/pcbnew/CMakeLists.txt +++ b/pcbnew/CMakeLists.txt @@ -4,6 +4,10 @@ set( MAKE_LINK_MAPS false ) add_definitions( -DPCBNEW ) add_subdirectory(router) +# psnrouter depends on make_lexer outputs in common (bug # 1285878 ) +add_dependencies( pnsrouter pcbcommon ) + + if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES ) file( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripting ) find_package( SWIG REQUIRED )