summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/kallisto/link_zlib.patch
blob: 65d07d491871ad285ca0233a930d3c4e0e3760cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- a/src/CMakeLists.txt	2017-03-20 05:38:35.000000000 -0500
+++ b/src/CMakeLists.txt	2022-07-17 12:56:04.456804708 -0500
@@ -32,6 +32,7 @@
 
 if ( ZLIB_FOUND )
     include_directories( ${ZLIB_INCLUDE_DIRS} )
+    target_link_libraries(kallisto kallisto_core ${ZLIB_LIBRARIES})
 else()
     message(FATAL_ERROR "zlib not found. Required for to output files" )
 endif( ZLIB_FOUND )