google / zopfli

Zopfli Compression Algorithm is a compression library programmed in C to perform very good, but slow, deflate or zlib compression.
Apache License 2.0
3.43k stars 330 forks source link

better cmake build #170

Open hubutui opened 4 years ago

hubutui commented 4 years ago

Hey, it seems that the cmake way to build and install zopfli only install zopfli.h and zopflipng_lib.h to /usr/include/. Debian use Makefile to build, and manual install header files to /usr/include/zopfli:

libzopfli-dev: /usr/include/zopfli/blocksplitter.h
libzopfli-dev: /usr/include/zopfli/cache.h
libzopfli-dev: /usr/include/zopfli/deflate.h
libzopfli-dev: /usr/include/zopfli/gzip_container.h
libzopfli-dev: /usr/include/zopfli/hash.h
libzopfli-dev: /usr/include/zopfli/katajainen.h
libzopfli-dev: /usr/include/zopfli/lz77.h
libzopfli-dev: /usr/include/zopfli/squeeze.h
libzopfli-dev: /usr/include/zopfli/symbols.h
libzopfli-dev: /usr/include/zopfli/tree.h
libzopfli-dev: /usr/include/zopfli/util.h
libzopfli-dev: /usr/include/zopfli/zlib_container.h
libzopfli-dev: /usr/include/zopfli/zopfli.h

Are these header files part of zopfli? Should they be installed to system? Maybe the CMakeLists.txt needs to be updated.