Fix zlib usage with TNG
[alexxy/gromacs.git] / src / gromacs / CMakeLists.txt
index 25da7de0e4f27c8e133c5e047ebe2ed595db41f1..c765548ae1e9bc708815fe9f6c77a3059c87adb3 100644 (file)
@@ -71,6 +71,7 @@ if(GMX_USE_TNG)
 
         if (HAVE_ZLIB)
             list(APPEND GMX_EXTRA_LIBRARIES ${ZLIB_LIBRARIES})
+            include_directories(${ZLIB_INCLUDE_DIRS})
         endif()
     endif()
 else()