nixpkgs/pkgs/applications/misc/bambu-studio/patches/dont-link-opencv-world-orca.patch
2024-10-12 15:26:25 +02:00

15 lines
343 B
Diff

diff --git a/src/libslic3r/CMakeLists.txt b/src/libslic3r/CMakeLists.txt
index 38a1b2499..00c9060b3 100644
--- a/src/libslic3r/CMakeLists.txt
+++ b/src/libslic3r/CMakeLists.txt
@@ -573,7 +573,8 @@ target_link_libraries(libslic3r
mcut
JPEG::JPEG
qoi
- opencv_world
+ opencv_core
+ opencv_imgproc
)
if(NOT WIN32)