Try to fix linking after constexpr change

Somehow, GCC 10 and 11 were unable to locate the prebuild colors when
they were constexpr in gal, so give them on the link line again.
This commit is contained in:
Ian McInerney 2023-04-06 15:20:16 +01:00
parent deb2bc0ac8
commit dc08c48f33
5 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,7 @@ target_link_libraries( cvpcb_kiface
3d-viewer 3d-viewer
gal gal
common common
gal # Circular dependency between gal and common now
kimath kimath
${PCBNEW_IO_LIBRARIES} ${PCBNEW_IO_LIBRARIES}
Boost::headers Boost::headers

View File

@ -437,6 +437,7 @@ target_link_libraries( eeschema
# There's way too much crap coming in from common yet. # There's way too much crap coming in from common yet.
gal gal
common common
gal # Circular dependency between gal and common now
argparse::argparse argparse::argparse
${wxWidgets_LIBRARIES} ${wxWidgets_LIBRARIES}
) )
@ -480,6 +481,7 @@ target_link_libraries( eeschema_kiface
PRIVATE PRIVATE
common common
eeschema_kiface_objects eeschema_kiface_objects
gal # Circular dependency between gal and common now
markdown_lib markdown_lib
scripting scripting
sexpr sexpr

View File

@ -112,6 +112,7 @@ target_link_libraries( gerbview
# There's way too much crap coming in from common yet. # There's way too much crap coming in from common yet.
gal gal
common common
gal # Circular dependency between gal and common now
core core
nlohmann_json nlohmann_json
${wxWidgets_LIBRARIES} ${wxWidgets_LIBRARIES}
@ -155,6 +156,7 @@ target_link_libraries( gerbview_kiface
nlohmann_json nlohmann_json
gal gal
common common
gal # Circular dependency between gal and common now
core core
gerbview_kiface_objects gerbview_kiface_objects
${wxWidgets_LIBRARIES} ${wxWidgets_LIBRARIES}

View File

@ -85,6 +85,7 @@ target_link_libraries( pl_editor
# There's way too much crap coming in from common yet. # There's way too much crap coming in from common yet.
gal gal
common common
gal # Circular dependency between gal and common now
core core
${wxWidgets_LIBRARIES} ${wxWidgets_LIBRARIES}
) )
@ -103,6 +104,7 @@ add_library( pl_editor_kiface MODULE
target_link_libraries( pl_editor_kiface target_link_libraries( pl_editor_kiface
gal gal
common common
gal # Circular dependency between gal and common now
core core
${wxWidgets_LIBRARIES} ${wxWidgets_LIBRARIES}
) )

View File

@ -626,6 +626,7 @@ make_lexer(
target_link_libraries( pcbnew_kiface_objects target_link_libraries( pcbnew_kiface_objects
PRIVATE PRIVATE
common common
gal # Circular dependency between gal and common now
core core
dxflib_qcad dxflib_qcad
nanosvg nanosvg