Fix a couple of issues with NAVLIB version checker

Need to include core lib in kiplatform for the version functions.  Need
to link kiplatform into the navlib library in eeschema to load
This commit is contained in:
Seth Hillbrand 2023-07-24 13:53:17 -07:00
parent b32f712721
commit 9902250f5d
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -86,6 +86,7 @@ target_include_directories( kiplatform PUBLIC
)
target_link_libraries( kiplatform
core
${wxWidgets_LIBRARIES}
${PLATFORM_LIBS}
)