diff options
author | Daniel Spangberg <daniels@kemi.uu.se> | 2013-05-15 12:35:29 (GMT) |
---|---|---|
committer | Daniel Spangberg <daniels@kemi.uu.se> | 2013-05-15 12:35:29 (GMT) |
commit | 718d755c5877bc3005ade2827e7c9cec1c6d064a (patch) | |
tree | 8f255984122247c9bf64c98f37b5401f28dd2f7f /src/compression | |
parent | 2882416b599514f5a7e60b07c6a20b53a32f9027 (diff) |
Also add the modified cmakefiles.
Diffstat (limited to 'src/compression')
-rw-r--r-- | src/compression/CMakeLists.txt | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/compression/CMakeLists.txt b/src/compression/CMakeLists.txt index 3cd090b..bdc82b8 100644 --- a/src/compression/CMakeLists.txt +++ b/src/compression/CMakeLists.txt @@ -1,14 +1 @@ -add_library(tng_io SHARED tng_io.c md5.c) - -if(HAVE_INTTYPES_H) - set_property(TARGET tng_io APPEND PROPERTY COMPILE_DEFINITIONS USE_STD_INTTYPES_H) -endif() - -if(BUILD_FORTRAN) - set_property(TARGET tng_io APPEND PROPERTY COMPILE_DEFINITIONS BUILD_FORTRAN) -endif() - -if(ZLIB_FOUND) - set_property(TARGET tng_io APPEND PROPERTY COMPILE_DEFINITIONS USE_ZLIB) - target_link_libraries(tng_io ${ZLIB_LIBRARIES}) -endif() +add_library(tng_compress SHARED 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) |