Skip to content

Commit

Permalink
fix: sdsl is only included if not an 32bit system
Browse files Browse the repository at this point in the history
  • Loading branch information
SGSSGene committed Jul 22, 2024
1 parent 8ed8ba0 commit 789e88c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ endif ()
project(fmindex-collection LANGUAGES CXX
DESCRIPTION "fmindex-collection -- Datastructures and Algorithms for (Bi-)FMIndices and Approximate Pattern Matching")

option(FMC_USE_SDSL "Activate occ tables that use SDSL as a backend" ${PROJECT_IS_TOP_LEVEL})

if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
option(FMC_USE_SDSL "Activate occ tables that use SDSL as a backend" OFF)
else()
option(FMC_USE_SDSL "Activate occ tables that use SDSL as a backend" ${PROJECT_IS_TOP_LEVEL})
set(FMC_USE_SDSL OFF)
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4)
set(FMC_USE_SDSL OFF)
endif()

find_package(OpenMP QUIET)
Expand Down

0 comments on commit 789e88c

Please sign in to comment.