--- cmake/dep-locate.cmake.orig +++ cmake/dep-locate.cmake @@ -24,7 +24,7 @@ endif () if (WITH_REGEX OR WITH_VIDEO) - set(ZLIB_USE_STATIC_LIBS ON) + #set(ZLIB_USE_STATIC_LIBS ON) find_package(ZLIB) endif ()