From 14c5f744ff2edd527dec17653fd7795cb6a74299 Mon Sep 17 00:00:00 2001 From: markus-bonk Date: Mon, 31 Jan 2022 14:37:24 +0100 Subject: [PATCH] Fix missing navlib pcbcommon dependency declaration. The 3d-viewer_navlib didn't have a proper dependency chain. It relies on headers that come from pcbcommon. --- 3d-viewer/3d_navlib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3d-viewer/3d_navlib/CMakeLists.txt b/3d-viewer/3d_navlib/CMakeLists.txt index ddabe2837e..82c3b016ed 100644 --- a/3d-viewer/3d_navlib/CMakeLists.txt +++ b/3d-viewer/3d_navlib/CMakeLists.txt @@ -4,6 +4,9 @@ if( KICAD_USE_3DCONNEXION ) "nl_3d_viewer_plugin_impl.cpp" ) + # 3d-viewer_navlib depends on make_lexer outputs in common + add_dependencies( 3d-viewer_navlib pcbcommon ) + # Find the 3DxWare SDK component 3DxWare::NlClient # find_package(TDxWare_SDK 4.0 REQUIRED COMPONENTS 3DxWare::Navlib) target_compile_definitions(3d-viewer_navlib PRIVATE