File: use_system_gzstream.patch

package info (click to toggle)
mmseqs2 18-8cc5c%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,388 kB
  • sloc: cpp: 87,288; ansic: 10,655; sh: 2,919; makefile: 142; perl: 13
file content (17 lines) | stat: -rw-r--r-- 571 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: We use libgzstream-dev instead of that in lib
Author: Shayan Doust <hello@shayandoust.me>
Last-Update: 2019-07-15
Forwarded: not-needed
---

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -148,6 +148,8 @@ if (EMSCRIPTEN)
     append_target_property(mmseqs-framework COMPILE_FLAGS -s USE_ZLIB=1 -s USE_BZIP2=1)
     append_target_property(mmseqs-framework LINK_FLAGS -s USE_ZLIB=1 -s USE_BZIP2=1)
 else ()
+# System-wide gzstream
+target_link_libraries(mmseqs-framework gzstream)
 find_package(ZLIB QUIET)
 if (ZLIB_FOUND)
     message("-- Found ZLIB")