Skip to content

Commit

Permalink
Merge pull request #219 from h-2/fixstatic
Browse files Browse the repository at this point in the history
[fix] static builds
  • Loading branch information
sarahet committed Jul 21, 2023
2 parents 40fff6c + 2c5389f commit cf59351
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/submodules/cereal)
add_subdirectory(submodules/cereal)
endif ()

# SGS FMindex
add_subdirectory(submodules/fmindex-collection)

# ----------------------------------------------------------------------------
# Add Lambda targets
# ----------------------------------------------------------------------------
Expand Down
8 changes: 3 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ if (NOT EXISTS ${CMAKE_SOURCE_DIR}/submodules/cereal)
find_package(cereal QUIET REQUIRED)
endif ()

# SGS FMindex
add_subdirectory(../submodules/fmindex-collection fmindex-collection)

message(STATUS "These dependencies were found:")
message( " BIOCPP-CORE ${BIOCPP_CORE_FOUND} ${BIOCPP_CORE_VERSION}")
message( " BIOCPP-IO ${BIOCPP_IO_FOUND} ${BIOCPP_IO_VERSION}")
Expand All @@ -99,11 +102,6 @@ if (NOT ZLIB_FOUND)
message (WARNING "WARNING: Zlib not found. Building lambda without support for gzipped input and output (this includes support for .bam).")
endif (NOT ZLIB_FOUND)

# Warn if BZip2 was not found.
if (NOT BZIP2_FOUND)
message (WARNING "WARNING: BZip2 not found. Building lambda without support for bzipped input and output.")
endif (NOT BZIP2_FOUND)

if (SEQAN_VERSION_STRING VERSION_LESS "${MINIMUM_SEQAN_VERSION}")
message (FATAL_ERROR "The minimum SeqAn version required is ${MINIMUM_SEQAN_VERSION}!")
return ()
Expand Down

0 comments on commit cf59351

Please sign in to comment.