add_executable(zzip zzip.c zzipmake-zip.c)
add_executable(unzzip unzzip.c unzzipcat-zip.c unzzipdir-zip.c)
add_executable(unzzip-mix unzzip.c unzzipcat-mix.c unzzipdir-mix.c)
-add_executable(unzzip-mem unzzip.c unzzipcat-mem.c unzzipdir-mem.c)
add_executable(unzzip-big unzzip.c unzzipcat-big.c unzzipdir-big.c)
+add_executable(unzzip-mem unzzip.c unzzipcat-mem.c unzzipdir-mem.c)
+add_executable(unzip-mem unzip-mem.c)
target_link_libraries(zzcat libzzip ZLIB::ZLIB)
target_link_libraries(zzdir libzzip ZLIB::ZLIB)
target_link_libraries(zzip libzzip ZLIB::ZLIB)
target_link_libraries(unzzip libzzip ZLIB::ZLIB)
target_link_libraries(unzzip-mix libzzip ZLIB::ZLIB)
-target_link_libraries(unzzip-mem libzzipmmapped ZLIB::ZLIB)
target_link_libraries(unzzip-big libzzipfseeko ZLIB::ZLIB)
+target_link_libraries(unzzip-mem libzzipmmapped ZLIB::ZLIB)
+target_link_libraries(unzip-mem libzzipmmapped ZLIB::ZLIB)
target_include_directories(zzcat PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
target_include_directories(zzdir PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
target_include_directories(zzip PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
target_include_directories(unzzip PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
target_include_directories(unzzip-mix PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
-target_include_directories(unzzip-mem PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
target_include_directories(unzzip-big PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
+target_include_directories(unzzip-mem PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
+target_include_directories(unzip-mem PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
# install ########################################################
install(TARGETS zzcat zzdir zzxorcat zzxordir zzxorcopy
- unzzip unzzip-mix unzzip-mem unzzip-big
+ unzzip unzzip-mix unzzip-big unzzip-mem unzip-mem
DESTINATION "${CMAKE_INSTALL_BINDIR}")