@@ -34,12 +34,12 @@ option (LAMBDA_WITH_BIFM "Include codepaths for bidirectional indexes." OFF)
3434
3535if (LAMBDA_STATIC_BUILD)
3636 add_definitions (-DLAMBDA_STATIC_BUILD=1)
37- set (CMAKE_FIND_LIBRARY_SUFFIXES ".a" )
3837 # apple does not support fully static builds, but at least libgcc and libstdc++
3938 if (APPLE )
4039 set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++" )
4140 message (WARNING "WARNING: Builds on Mac are never fully static." )
4241 else (APPLE )
42+ set (CMAKE_FIND_LIBRARY_SUFFIXES ".a" )
4343 set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static" )
4444 endif (APPLE )
4545 # on linux cmake adds -rdynamic automatically which clang can't handle in static builds
@@ -65,7 +65,6 @@ message(STATUS "Remove CMakeCache.txt and re-run cmake with -DOPTIONNAME=ON|OFF
6565# Search SeqAn and select dependencies.
6666find_package (OpenMP QUIET )
6767find_package (ZLIB QUIET )
68- find_package (BZip2 QUIET )
6968find_package (SeqAn QUIET REQUIRED CONFIG)
7069
7170# BIO
@@ -85,7 +84,6 @@ add_subdirectory(../submodules/fmindex-collection fmindex-collection)
8584message (STATUS "These dependencies were found:" )
8685message ( " BIOCPP-CORE ${BIOCPP_CORE_FOUND} ${BIOCPP_CORE_VERSION} " )
8786message ( " BIOCPP-IO ${BIOCPP_IO_FOUND} ${BIOCPP_IO_VERSION} " )
88- message ( " BZIP2 ${BZIP2_FOUND} ${BZIP2_VERSION_STRING} " )
8987message ( " CEREAL ${CEREAL_FOUND} ${CEREAL_VERSION} " )
9088message ( " OPENMP ${OPENMP_FOUND} ${OpenMP_CXX_FLAGS} " )
9189message ( " SEQAN ${SEQAN_FOUND} ${SEQAN_VERSION_STRING} " )
0 commit comments