summarylogtreecommitdiffstats
path: root/0001-src-slic3r-CMakeLists.txt-avoid-linking-to-the-depre.patch
blob: 22b2127f65fe29cca0e2c4411b5b784bde83a2d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From d1dbea5fec43bbef6dbfd397109648283fdd53df Mon Sep 17 00:00:00 2001
From: Leo <i@hardrain980.com>
Date: Sun, 19 Apr 2026 17:42:24 +0800
Subject: [PATCH] src/slic3r/CMakeLists.txt: avoid linking to the deprecated
 libOSMesa.so

---
 src/slic3r/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/slic3r/CMakeLists.txt b/src/slic3r/CMakeLists.txt
index 8a707348d..e01206213 100644
--- a/src/slic3r/CMakeLists.txt
+++ b/src/slic3r/CMakeLists.txt
@@ -703,7 +703,7 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
     FIND_LIBRARY(WAYLAND_EGL_LIBRARIES    NAMES wayland-egl)
     FIND_LIBRARY(WAYLAND_CLIENT_LIBRARIES NAMES wayland-client)
     find_package(CURL REQUIRED)
-    target_link_libraries(libslic3r_gui ${DBUS_LIBRARIES} OSMesa)
+    target_link_libraries(libslic3r_gui ${DBUS_LIBRARIES})
     target_link_libraries(libslic3r_gui
         OpenGL::EGL
         ${WAYLAND_SERVER_LIBRARIES}
-- 
2.53.0