Commit 7e1b4414 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Fixed FindTBB.cmake to set TBB malloc library also for Unix systems.

parent dd5240f5
......@@ -86,10 +86,16 @@ ELSE (WIN32)
)
FIND_LIBRARY(
TBB_LIBRARY
NAMES TBB libtbb.so
NAMES libtbb.so
PATHS ${TbbDirectory}/lib /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib /sw/lib /opt/local/lib
DOC "The TBB library"
)
FIND_LIBRARY(
TBB_MALLOC_LIBRARY
NAMES libtbbmalloc.so
PATHS ${TbbDirectory}/lib /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib /sw/lib /opt/local/lib
DOC "The TBB malloc library"
)
ENDIF (WIN32)
IF(TBB_INCLUDE_DIR AND TBB_LIBRARY)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment