diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2017-02-07 17:33:01 +0100 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2017-02-07 17:33:01 +0100 |
commit | 55c7181126aa7defce38c9b82872d14223d4c1dd (patch) | |
tree | 7c683f014709459f066fd87a21da7f74cfc31a53 /cmake/modules/UseTBB.cmake |
Initial import of upstream's 1.3.1.upstream/1.3.1
Diffstat (limited to 'cmake/modules/UseTBB.cmake')
-rw-r--r-- | cmake/modules/UseTBB.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/modules/UseTBB.cmake b/cmake/modules/UseTBB.cmake new file mode 100644 index 00000000..e1ef5dfe --- /dev/null +++ b/cmake/modules/UseTBB.cmake @@ -0,0 +1,6 @@ +# This module setups the compiler for using TBB library. +# It assumes that find_package(TBB) was already called. + +include_directories ( ${TBB_INCLUDE_DIRS} ) +link_directories( ${TBB_LIBRARY_DIRS} ) +add_definitions( -DNOMINMAX -DGUDHI_USE_TBB ) |