From 09886bac389bc6ede7c9e785c16042aaffac1b76 Mon Sep 17 00:00:00 2001 From: markus-bonk Date: Mon, 24 Jan 2022 07:43:56 +0100 Subject: [PATCH] Fix missing pcbcommon dependency declaration. The pcbnew_navlib library didn't have a proper dependency chain. It relies on headers that come from pcbcommon. --- pcbnew/navlib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/navlib/CMakeLists.txt b/pcbnew/navlib/CMakeLists.txt index e52fd51fb0..23e4cb294c 100644 --- a/pcbnew/navlib/CMakeLists.txt +++ b/pcbnew/navlib/CMakeLists.txt @@ -4,6 +4,9 @@ if( KICAD_USE_3DCONNEXION ) "nl_pcbnew_plugin_impl.cpp" ) + # pcbnew_navlib depends on make_lexer outputs in common + add_dependencies( pcbnew_navlib pcbcommon ) + # Find the 3DxWare SDK component 3DxWare::NlClient # find_package(TDxWare_SDK 4.0 REQUIRED COMPONENTS 3DxWare::Navlib) target_compile_definitions(pcbnew_navlib PRIVATE