7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-04 23:35:31 +00:00

3DConnexion navlibs need kiplatform

This worked in Pcbnew because pcbcommon happened to include
kiplatform, but gerbview didn't.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18825
This commit is contained in:
John Beard 2024-10-01 17:09:46 +01:00
parent d1d71f75d6
commit c9a231610a
2 changed files with 2 additions and 0 deletions
gerbview/navlib
pcbnew/navlib

View File

@ -20,6 +20,7 @@ target_include_directories(gerbview_navlib PRIVATE
$<TARGET_PROPERTY:gerbview_kiface_objects,INCLUDE_DIRECTORIES>
)
target_link_libraries(gerbview_navlib
kiplatform # Needs kiplatform to check versioning
$<TARGET_PROPERTY:3DxWare::Navlib,INTERFACE_LINK_LIBRARIES>
3DxWare::Navlib
)

View File

@ -20,6 +20,7 @@ target_include_directories(pcbnew_navlib PRIVATE
$<TARGET_PROPERTY:pcbnew_kiface_objects,INCLUDE_DIRECTORIES>
)
target_link_libraries(pcbnew_navlib
kiplatform # Needs kiplatform to check versioning
$<TARGET_PROPERTY:3DxWare::Navlib,INTERFACE_LINK_LIBRARIES>
3DxWare::Navlib
)