File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed
Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 1010[submodule "src/deps/minizip-ng "]
1111 path = src/deps/minizip-ng
1212 url = https://github.com/zlib-ng/minizip-ng.git
13+ [submodule "src/deps/zlib-ng "]
14+ path = src/deps/zlib-ng
15+ url = https://github.com/zlib-ng/zlib-ng.git
Original file line number Diff line number Diff line change @@ -35,9 +35,11 @@ endif()
3535
3636if (NOT OTIO_FIND_MINIZIP_NG)
3737 set (BUILD_SHARED_LIBS OFF )
38+ set (BUILD_TESTING OFF )
3839 set (CMAKE_POSITION_INDEPENDENT_CODE ON )
3940 set (MZ_COMPAT ON )
4041 set (MZ_ZLIB ON )
42+ set (MZ_ZLIB_FLAVOR zlib-ng)
4143 set (MZ_BZIP2 OFF )
4244 set (MZ_LZMA OFF )
4345 set (MZ_ZSTD OFF )
@@ -47,13 +49,6 @@ if(NOT OTIO_FIND_MINIZIP_NG)
4749 set (MZ_OPENSSL OFF )
4850 set (MZ_LIBBSD OFF )
4951 set (MZ_ICONV OFF )
50- set (MZ_FETCH_LIBS ON )
51- set (MZ_FORCE_FETCH_LIBS ON )
52+ add_subdirectory (zlib-ng)
5253 add_subdirectory (minizip-ng)
53-
54- # TODO This is a temporary workaround to find zlib-ng. For some reason
55- # zlib-ng is not installing it's own CMake configuration files when built
56- # by minizip-ng.
57- install (FILES zlibng-config.cmake DESTINATION ${CMAKE_INSTALL_PREFIX} /lib/cmake/zlibng)
58-
5954endif ()
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments