summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2014-03-01 11:08:01 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2014-03-01 11:08:01 (GMT)
commitdaa3ef16f4e6c68dc0f9e9a349cd327d50d415b3 (patch)
tree26dfd77f1cbf2f122f590e09d3e2c905a8540e1a /CMakeLists.txt
parent60bfa964747c9ff03b40f049713c90afcc17acb6 (diff)
Modify the option to specify if ZLIB should be used.
In GROMACS there is an extra check to see that ZLIB can actually be linked against. This change uses those options properly. Change-Id: I910be0cf81a47c9feea2d3494925cc4a3c82dc4b
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dab7a61..dded394 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,7 @@ option(TNG_BUILD_TEST "Build TNG testing binary." ON)
option(TNG_BUILD_COMPRESSION_TESTS "Build tests of the TNG compression library" OFF)
find_package(ZLIB QUIET)
+option(TNG_BUILD_WITH_ZLIB "Build TNG with zlib compression" ${ZLIB_FOUND})
include(CheckIncludeFile)
check_include_file(inttypes.h HAVE_INTTYPES_H)
contact: Jan Huwald // Impressum