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