Re: [Seqan-dev] CMake and ZLIB
- From: Leon Kuchenbecker <lkuchenb@inf.fu-berlin.de>
- To: seqan-dev@lists.fu-berlin.de
- Date: Fri, 25 Jan 2019 16:15:12 +0100
- Subject: Re: [Seqan-dev] CMake and ZLIB
Hi Nick,do you have a 'target_link_libraries' statement anywhere which adds the required libraries to the linker step?
Something like
target_link_libraries (my_project ${SEQAN_LIBRARIES})
IIRC this also contains linking zlib.When you're debugging this, try using "make VERBOSE=1" to see if the linker flag is included or not.
You seem to be building a cmake file that automatically obtains SeqAn. I've done something similar on other projects, maybe check out
https://github.com/lkuchenb/imseq/blob/master/cmake/SeqAn.cmakeit worked pretty well for me. If the include syntax hasn't changed from 2.3.2 to 2.4.0, it should work for the latest release as well. This won't work if you need the current development version from the git repo though.
Cheers Leon
- Follow-Ups:
- Re: [Seqan-dev] CMake and ZLIB
- From: Peter Robinson <Peter.Robinson@jax.org>
- Re: [Seqan-dev] CMake and ZLIB
- References:
- [Seqan-dev] CMake and ZLIB
- From: Peter Robinson <Peter.Robinson@jax.org>
- [Seqan-dev] CMake and ZLIB
-
seqan-dev - January 2019 - Archives indexes sorted by:
[ thread ] [ subject ] [ author ] [ date ] - Complete archive of the seqan-dev mailing list
- More info on this list...