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.
This commit is contained in:
markus-bonk 2022-01-31 14:37:24 +01:00 committed by jean-pierre charras
parent f846f6f704
commit 14c5f744ff
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ if( KICAD_USE_3DCONNEXION )
"nl_3d_viewer_plugin_impl.cpp" "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 the 3DxWare SDK component 3DxWare::NlClient
# find_package(TDxWare_SDK 4.0 REQUIRED COMPONENTS 3DxWare::Navlib) # find_package(TDxWare_SDK 4.0 REQUIRED COMPONENTS 3DxWare::Navlib)
target_compile_definitions(3d-viewer_navlib PRIVATE target_compile_definitions(3d-viewer_navlib PRIVATE