summaryrefslogtreecommitdiff
path: root/src/Bottleneck_distance/test
diff options
context:
space:
mode:
authorcjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-03 09:40:35 +0000
committercjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-03 09:40:35 +0000
commit0023b64e6e3dba261902403931c93599d0d4360a (patch)
tree1d05e3b168e6424fdf6096c1791fdcdbfc4f4723 /src/Bottleneck_distance/test
parent9bd1ad1f36ceb729240cac67f4889645859a1b18 (diff)
Link with TBB
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/botteleneck-parallel-sort@2141 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 80325216eace3cb1dbadbde3f4e5a3985b8feab0
Diffstat (limited to 'src/Bottleneck_distance/test')
-rw-r--r--src/Bottleneck_distance/test/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Bottleneck_distance/test/CMakeLists.txt b/src/Bottleneck_distance/test/CMakeLists.txt
index 6c8f112d..3e61f4cf 100644
--- a/src/Bottleneck_distance/test/CMakeLists.txt
+++ b/src/Bottleneck_distance/test/CMakeLists.txt
@@ -17,6 +17,9 @@ if(CGAL_FOUND)
if (NOT CGAL_VERSION VERSION_LESS 4.8.0)
add_executable ( bottleneckUT bottleneck_unit_test.cpp )
target_link_libraries(bottleneckUT ${Boost_SYSTEM_LIBRARY} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
+ if (TBB_FOUND)
+ target_link_libraries(bottleneckUT ${TBB_LIBRARIES})
+ endif(TBB_FOUND)
# Unitary tests
add_test(NAME bottleneckUT COMMAND ${CMAKE_CURRENT_BINARY_DIR}/bottleneckUT