Skip to content
Snippets Groups Projects
Commit b34967f0 authored by René Fritze's avatar René Fritze
Browse files

[cmake] fixes tbb debug mode linking

parent 63662417
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ include(FindTBB)
find_package(TBB)
if(TBB_FOUND)
if(CMAKE_BUILD_TYPE MATCHES DEBUG)
list(APPEND DUNE_DEFAULT_LIBS "${TBB_DEBUG_LIBRARIES}")
list(APPEND DUNE_DEFAULT_LIBS "${TBB_LIBRARIES}" "${TBB_DEBUG_LIBRARIES}")
elseif(CMAKE_BUILD_TYPE MATCHES DEBUG)
list(APPEND DUNE_DEFAULT_LIBS "${TBB_LIBRARIES}")
endif(CMAKE_BUILD_TYPE MATCHES DEBUG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment