diff options
author | Gard Spreemann <gspr@nonempty.org> | 2020-02-07 18:02:58 +0100 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2020-02-07 18:02:58 +0100 |
commit | 1aafa5f62e1def8ab5ee9cffd4995107a371d053 (patch) | |
tree | 58f1e8b95d34a047504cc88afe6c72ad7b741070 /src/Witness_complex/example/CMakeLists.txt | |
parent | 80b922bb6a4e951f8e9f0502bf8e248baee86732 (diff) | |
parent | 81816dae256a9f3c0653b1d21443c3c32da7a974 (diff) |
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'src/Witness_complex/example/CMakeLists.txt')
-rw-r--r-- | src/Witness_complex/example/CMakeLists.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Witness_complex/example/CMakeLists.txt b/src/Witness_complex/example/CMakeLists.txt index 5860f3a3..2659798e 100644 --- a/src/Witness_complex/example/CMakeLists.txt +++ b/src/Witness_complex/example/CMakeLists.txt @@ -12,10 +12,18 @@ install(TARGETS Witness_complex_example_nearest_landmark_table DESTINATION bin) # CGAL and Eigen3 are required for Euclidean version of Witness if(NOT CGAL_WITH_EIGEN3_VERSION VERSION_LESS 4.11.0) add_executable( Witness_complex_example_off example_witness_complex_off.cpp ) + if (TBB_FOUND) + target_link_libraries(Witness_complex_example_off ${TBB_LIBRARIES}) + endif() add_executable ( Witness_complex_example_sphere example_witness_complex_sphere.cpp ) + if (TBB_FOUND) + target_link_libraries(Witness_complex_example_sphere ${TBB_LIBRARIES}) + endif() add_executable( Witness_complex_example_strong_off example_strong_witness_complex_off.cpp ) - target_link_libraries(Witness_complex_example_strong_off) + if (TBB_FOUND) + target_link_libraries(Witness_complex_example_strong_off ${TBB_LIBRARIES}) + endif() add_test(NAME Witness_complex_example_off_test_torus COMMAND $<TARGET_FILE:Witness_complex_example_off> |