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

14 lines
345 B
Diff

diff --git a/src/libslic3r/CMakeLists.txt b/src/libslic3r/CMakeLists.txt
index 2cdc525..44e6602 100644
--- a/src/libslic3r/CMakeLists.txt
+++ b/src/libslic3r/CMakeLists.txt
@@ -533,7 +533,8 @@ target_link_libraries(libslic3r
${OCCT_LIBS}
Clipper2
mcut
- opencv_world
+ opencv_core
+ opencv_imgproc
)
if(NOT WIN32)