summaryrefslogtreecommitdiff
path: root/media-gfx/prusaslicer/files/prusaslicer-2.6.0-dont-force-link-to-wayland-and-x11.patch
blob: b949d3b5a8975da651aa182b9d224797d32742c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 50eccfc84..d0f9205b3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -115,9 +115,6 @@ if (SLIC3R_GUI)
     # libslic3r_gui will link to opengl anyway, so lets override wx
     list(FILTER wxWidgets_LIBRARIES EXCLUDE REGEX OpenGL)
     
-    if (UNIX AND NOT APPLE)
-        list(APPEND wxWidgets_LIBRARIES X11 wayland-client wayland-egl EGL)
-    endif ()
 #    list(REMOVE_ITEM wxWidgets_LIBRARIES oleacc)
     message(STATUS "wx libs: ${wxWidgets_LIBRARIES}")