summaryrefslogtreecommitdiff
path: root/src/compression/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Spangberg <daniels@kemi.uu.se>2013-05-15 12:31:28 (GMT)
committerDaniel Spangberg <daniels@kemi.uu.se>2013-05-15 12:31:28 (GMT)
commit2882416b599514f5a7e60b07c6a20b53a32f9027 (patch)
treefe8fd58b5023c7835af4096f32389e7cb8aaa6bb /src/compression/CMakeLists.txt
parent43f0748e4a4335e0eb9f81cc8a4728616ac08cf1 (diff)
Added tng_compress trajectory compression algorithms
Diffstat (limited to 'src/compression/CMakeLists.txt')
-rw-r--r--src/compression/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/compression/CMakeLists.txt b/src/compression/CMakeLists.txt
new file mode 100644
index 0000000..3cd090b
--- /dev/null
+++ b/src/compression/CMakeLists.txt
@@ -0,0 +1,14 @@
+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()
contact: Jan Huwald // Impressum