mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Gerbview: fix a link issue (symbol not found) on MINGW/MSYS2
It was due to a link order with libgerbview_navlib
This commit is contained in:
parent
b6bf7d6f44
commit
b5cb008734
@ -138,9 +138,6 @@ target_link_libraries( gerbview_kiface_objects
|
|||||||
|
|
||||||
message( STATUS "Including 3Dconnexion SpaceMouse navigation support in gerbview" )
|
message( STATUS "Including 3Dconnexion SpaceMouse navigation support in gerbview" )
|
||||||
add_subdirectory( navlib )
|
add_subdirectory( navlib )
|
||||||
|
|
||||||
target_link_libraries( gerbview_kiface_objects PUBLIC gerbview_navlib)
|
|
||||||
|
|
||||||
add_dependencies( gerbview_kiface_objects gerbview_navlib )
|
add_dependencies( gerbview_kiface_objects gerbview_navlib )
|
||||||
|
|
||||||
# the main gerbview program, in DSO form.
|
# the main gerbview program, in DSO form.
|
||||||
@ -162,6 +159,8 @@ target_link_libraries( gerbview_kiface
|
|||||||
${wxWidgets_LIBRARIES}
|
${wxWidgets_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries( gerbview_kiface PUBLIC gerbview_navlib)
|
||||||
|
|
||||||
set_source_files_properties( gerbview.cpp PROPERTIES
|
set_source_files_properties( gerbview.cpp PROPERTIES
|
||||||
# The KIFACE is in gerbview.cpp, export it:
|
# The KIFACE is in gerbview.cpp, export it:
|
||||||
COMPILE_DEFINITIONS "BUILD_KIWAY_DLL;COMPILING_DLL"
|
COMPILE_DEFINITIONS "BUILD_KIWAY_DLL;COMPILING_DLL"
|
||||||
|
Loading…
Reference in New Issue
Block a user