Use parallel terminology more consistently
[alexxy/gromacs.git] / src / external / tng_io / src / compression / CMakeLists.txt
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)
2
3 add_library(tng_compress ${source_files})
4
5 # Append the required library dependencies
6 if(UNIX)
7   target_link_libraries(tng_compress m)
8 endif()
9
10 # Use GNUInstallDirst to set paths on multiarch systems
11 include(GNUInstallDirs)
12
13 install(TARGETS tng_compress
14         LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
15         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})