1 set(source_files bwlzh.c bwt.c coder.c dict.c fixpoint.c huffman.c huffmem.c lz77.c merge_sort.c mtf.c rle.c tng_compress.c vals16.c warnmalloc.c widemuldiv.c xtc2.c xtc3.c)
3 add_library(tng_compress ${source_files})
5 # Append the required library dependencies
7 target_link_libraries(tng_compress m)
10 # Use GNUInstallDirst to set paths on multiarch systems
11 include(GNUInstallDirs)
13 install(TARGETS tng_compress
14 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
15 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})