···20@@ -175,6 +175,11 @@ if (WIN32)
21 target_link_libraries(BambuStudio_app_gui PRIVATE boost_headeronly)
22 endif ()
23-24+# We link against webkit2gtk symbols in src/slic3r/GUI/Widgets/WebView.cpp
25+if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
26-+ target_link_libraries(libslic3r_gui "-lwebkit2gtk-4.0")
27+endif ()
28+
29 # Link the resources dir to where Slic3r GUI expects it
30 set(output_dlls_Release "")
31 set(output_dlls_Debug "")
32---
332.38.1
34-
···20@@ -175,6 +175,11 @@ if (WIN32)
21 target_link_libraries(BambuStudio_app_gui PRIVATE boost_headeronly)
22 endif ()
23+24+# We link against webkit2gtk symbols in src/slic3r/GUI/Widgets/WebView.cpp
25+if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
26++ target_link_libraries(libslic3r_gui "-lwebkit2gtk-4.1")
27+endif ()
28+
29 # Link the resources dir to where Slic3r GUI expects it
30 set(output_dlls_Release "")
31 set(output_dlls_Debug "")
32+--
332.38.1
0