Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Replaced tbb library by TBB::tbb to allow build with non-standard  TBB install paths.
  • Loading branch information
alexanderschliep authored Jul 21, 2024
1 parent 74389d5 commit bebe7da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/submodules/stxxl)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${STXXL_CXX_FLAGS}")

# Parallelization
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ltbb -fopenmp -fpermissive")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp -fpermissive")

# CLI11 for command line interface
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/submodules/CLI11)
Expand All @@ -48,7 +48,7 @@ if(NOT MAIN_PROJECT)
endif()


set(CountVLMC_LIBRARIES ${STXXL_LIBRARIES} tbb kmc_file kmer_api mmer CLI11::CLI11)
set(CountVLMC_LIBRARIES ${STXXL_LIBRARIES} TBB::tbb kmc_file kmer_api mmer CLI11::CLI11)

add_library(CountVLMC INTERFACE)
add_library(CountVLMC::CountVLMC ALIAS CountVLMC)
Expand Down

0 comments on commit bebe7da

Please sign in to comment.