Remove zlib dependency
Dear cv Forum
I am compiling opencv with cmake and visual studio and I was wondering if there is a way to completely deactivate the use of the 3rdparty zlib. I think it is being used in the core module for xml/yaml functionality. I am just using the core and imgproc modules. Thank you.
Best
just curious, why do you want to do this ?
(cmake -DBUILD_ZLIB=OFF ??)
Sorry, incomplete description. I have already deactivated BUILD_ZLIB in cmake ui, however in the visual studio solution there is always a zlib project created, which is also linked (I think by the core module for xml/yaml). Why? I would like to avoid managing the zlib license and keep only minimal configuration for opencv.
this is probably, because there is no "native" zlib on windows (as it is on linux).
have you tried to disable WITH_ZLIB in cmake, too ?
(i'm a bit pessimistic, if you can get rid of the zlib dependancy in core at all.)