Skip to content

Commit b60d15c

Browse files
authored
remove calls to add_subdirectory for lzma & zlib (#959)
1 parent 7ef1662 commit b60d15c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,6 @@ if(MZ_ZLIB)
226226

227227
clone_repo(zlib https://github.com/zlib-ng/zlib-ng stable)
228228

229-
# Don't automatically add all targets to the solution
230-
add_subdirectory(${ZLIB_SOURCE_DIR} ${ZLIB_BINARY_DIR} EXCLUDE_FROM_ALL)
231-
232229
list(APPEND MINIZIP_INC ${ZLIB_SOURCE_DIR})
233230
list(APPEND MINIZIP_INC ${ZLIB_BINARY_DIR})
234231

@@ -344,9 +341,6 @@ if(MZ_LZMA)
344341

345342
clone_repo(liblzma https://github.com/tukaani-project/xz master)
346343

347-
# Don't automatically add all targets to the solution
348-
add_subdirectory(${LIBLZMA_SOURCE_DIR} ${LIBLZMA_BINARY_DIR} EXCLUDE_FROM_ALL)
349-
350344
list(APPEND MINIZIP_INC ${LIBLZMA_SOURCE_DIR}/src/liblzma/api)
351345
list(APPEND MINIZIP_DEP liblzma)
352346
list(APPEND MINIZIP_LIB ${LIBLZMA_TARGET})

0 commit comments

Comments
 (0)