Skip to content

Commit cf59351

Browse files
authored
Merge pull request #219 from h-2/fixstatic
[fix] static builds
2 parents 40fff6c + 2c5389f commit cf59351

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/submodules/cereal)
6262
add_subdirectory(submodules/cereal)
6363
endif ()
6464

65-
# SGS FMindex
66-
add_subdirectory(submodules/fmindex-collection)
67-
6865
# ----------------------------------------------------------------------------
6966
# Add Lambda targets
7067
# ----------------------------------------------------------------------------

src/CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ if (NOT EXISTS ${CMAKE_SOURCE_DIR}/submodules/cereal)
8484
find_package(cereal QUIET REQUIRED)
8585
endif ()
8686

87+
# SGS FMindex
88+
add_subdirectory(../submodules/fmindex-collection fmindex-collection)
89+
8790
message(STATUS "These dependencies were found:")
8891
message( " BIOCPP-CORE ${BIOCPP_CORE_FOUND} ${BIOCPP_CORE_VERSION}")
8992
message( " BIOCPP-IO ${BIOCPP_IO_FOUND} ${BIOCPP_IO_VERSION}")
@@ -99,11 +102,6 @@ if (NOT ZLIB_FOUND)
99102
message (WARNING "WARNING: Zlib not found. Building lambda without support for gzipped input and output (this includes support for .bam).")
100103
endif (NOT ZLIB_FOUND)
101104

102-
# Warn if BZip2 was not found.
103-
if (NOT BZIP2_FOUND)
104-
message (WARNING "WARNING: BZip2 not found. Building lambda without support for bzipped input and output.")
105-
endif (NOT BZIP2_FOUND)
106-
107105
if (SEQAN_VERSION_STRING VERSION_LESS "${MINIMUM_SEQAN_VERSION}")
108106
message (FATAL_ERROR "The minimum SeqAn version required is ${MINIMUM_SEQAN_VERSION}!")
109107
return ()

0 commit comments

Comments
 (0)