summaryrefslogtreecommitdiff
path: root/src/Witness_complex/test/CMakeLists.txt
blob: 690933aa3232172f92734c0123dffee243cca614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
project(Witness_complex_tests)

include(GUDHI_boost_test)

add_executable ( Witness_complex_test_simple_witness_complex test_simple_witness_complex.cpp )
if (TBB_FOUND)
  target_link_libraries(Witness_complex_test_simple_witness_complex ${TBB_LIBRARIES})
endif(TBB_FOUND)

gudhi_add_boost_test(Witness_complex_test_simple_witness_complex)

# 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_test_euclidean_simple_witness_complex test_euclidean_simple_witness_complex.cpp )
  if (TBB_FOUND)
    target_link_libraries(Witness_complex_test_euclidean_simple_witness_complex ${TBB_LIBRARIES})
  endif(TBB_FOUND)

  gudhi_add_boost_test(Witness_complex_test_euclidean_simple_witness_complex)
endif(NOT CGAL_WITH_EIGEN3_VERSION VERSION_LESS 4.11.0)