summaryrefslogtreecommitdiff
path: root/src/compression
diff options
context:
space:
mode:
authorDaniel Spangberg <daniels@kemi.uu.se>2013-05-17 17:51:38 (GMT)
committerDaniel Spangberg <daniels@kemi.uu.se>2013-05-17 17:51:38 (GMT)
commit47bc4acb6a7373a359b3b3a73302ebd985dedd1b (patch)
tree562e98b6b14d093a6cecd7c9b26b2c3f99410634 /src/compression
parente9d08c77cbf705b012846eb837341b526e1a058b (diff)
Only add math library on UNIX. Copy .sh files on UNIX. Copy .bat files on windows.
Diffstat (limited to 'src/compression')
-rw-r--r--src/compression/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compression/CMakeLists.txt b/src/compression/CMakeLists.txt
index 35e01f7..605dac7 100644
--- a/src/compression/CMakeLists.txt
+++ b/src/compression/CMakeLists.txt
@@ -5,4 +5,6 @@ include_directories(${COMP_INC_DIR})
set(HEADER_FILES ${COMP_INC_DIR}/bwlzh.h ${COMP_INC_DIR}/bwt.h ${COMP_INC_DIR}/coder.h ${COMP_INC_DIR}/dict.h ${COMP_INC_DIR}/fixpoint.h ${COMP_INC_DIR}/huffman.h ${COMP_INC_DIR}/lz77.h ${COMP_INC_DIR}/merge_sort.h ${COMP_INC_DIR}/mtf.h ${COMP_INC_DIR}/my64bit.h ${COMP_INC_DIR}/rle.h ${COMP_INC_DIR}/tng_compress.h ${COMP_INC_DIR}/vals16.h ${COMP_INC_DIR}/warnmalloc.h ${COMP_INC_DIR}/widemuldiv.h)
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)
-target_link_libraries(tng_compress m) \ No newline at end of file
+if(UNIX)
+target_link_libraries(tng_compress m)
+endif()
contact: Jan Huwald // Impressum