Skip to content

Commit

Permalink
must build libdivsufsort
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-p committed Nov 16, 2015
1 parent af8cbcb commit 6e0bd82
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,21 @@ message("BOOST LIBRAREIS = ${Boost_LIBRARIES}")

set(EXTERNAL_LIBRARY_PATH $CMAKE_CURRENT_SOURCE_DIR/lib)

message("Build system will build libdivsufsort")
message("==================================================================")
include(ExternalProject)
ExternalProject_Add(libdivsufsort
DOWNLOAD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external
URL ${CMAKE_CURRENT_SOURCE_DIR}/external/libdivsufsort.zip
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/libdivsufsort-master
INSTALL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/install
UPDATE_COMMAND sh -c "mkdir -p <SOURCE_DIR>/build"
BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/libdivsufsort-master/build
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DBUILD_DIVSUFSORT64=TRUE -DUSE_OPENMP=TRUE -DBUILD_SHARED_LIBS=FALSE
)
set(SUFFARRAY_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/external/install/include)


message("Build system will fetch and build Jellyfish")
message("==================================================================")
ExternalProject_Add(libjellyfish
Expand Down

0 comments on commit 6e0bd82

Please sign in to comment.