depot/third_party/nixpkgs/pkgs/applications/misc/bambu-studio/dont-link-opencv-world.patch

15 lines
343 B
Diff
Raw Normal View History

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)