Skip to content

Commit

Permalink
Add SDSL as FetchContent_Declare
Browse files Browse the repository at this point in the history
  • Loading branch information
kurpicz committed Nov 27, 2023
1 parent 5356b43 commit 8ca8744
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ option(PASTA_BLOCK_TREE_BUILD_TESTS
option(PASTA_BLOCK_TREE_BUILD_EXAMPLES
"Build blocktree's benchmarks." OFF)

FetchContent_Declare(
sdsl
GIT_REPOSITORY https://github.com/simongog/sdsl-lite.git
GIT_TAG c32874c #main
)


FetchContent_Declare(
tlx
GIT_REPOSITORY https://github.com/tlx/tlx.git
Expand All @@ -46,7 +53,7 @@ FetchContent_Declare(
GIT_TAG 05acd97 #main
)

FetchContent_MakeAvailable(tlx pasta_bit_vector)
FetchContent_MakeAvailable(sdsl tlx pasta_bit_vector)

# Optional test
if(PASTA_BLOCK_TREE_BUILD_TESTS)
Expand Down

0 comments on commit 8ca8744

Please sign in to comment.