Skip to content
Permalink
Browse files

Fix compile issues on freebsd

  • Loading branch information...
milot-mirdita committed May 22, 2019
1 parent 58d9aaa commit 9e103bc79494e973cdcba47dd0099b9b9a565d66
Showing with 5 additions and 1 deletion.
  1. +4 −0 CMakeLists.txt
  2. +1 −1 src/alignment/StripedSmithWaterman.h
@@ -58,6 +58,10 @@ if (APPLE)
set(MMSEQS_CXX_FLAGS "${MMSEQS_CXX_FLAGS} -D__APPLE_API_STRICT_CONFORMANCE")
endif ()

if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
set(MMSEQS_CXX_FLAGS "${MMSEQS_CXX_FLAGS} -D_WITH_GETLINE")
endif()

# zstd
SET(ZSTD_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/lib/zstd")
SET(CMAKE_INSTALL_LIBDIR bin)
@@ -37,7 +37,7 @@
#include <cstdlib>
#include <iostream>

#if !defined(__APPLE__)
#if !defined(__llvm__)
#include <malloc.h>
#endif

0 comments on commit 9e103bc

Please sign in to comment.
You can’t perform that action at this time.