← Back to team overview

kicad-developers team mailing list archive

[PATCH 2/2] Add missing dependency pcbcommon -> netlist_lexer_source_files

 

netlist_reader.h is also used by pcbcommon, so a dependency is necessary.
---
 common/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index 2b558c4..2d843cf 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -388,6 +388,7 @@ add_custom_target(
     )
 
 add_dependencies( common netlist_lexer_source_files )
+add_dependencies( pcbcommon netlist_lexer_source_files )
 
 # auto-generate pcb_plot_params_lexer.h and pcb_plot_params_keywords.cpp
 make_lexer(

Follow ups

References