diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2022-11-15 15:50:18 +0100 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2022-11-21 22:50:23 +0100 |
commit | 9920ebf573304c19dd18389ddcff3e677a8bc92a (patch) | |
tree | 1d90ac96cdd96e4268b39b7ad60563ad593d18cc /src/Nerve_GIC/test/CMakeLists.txt | |
parent | 2752ead7b1db5895064f9bb72f81e6e928fcaf7c (diff) |
Fall back to Hera's bottleneck without CGAL
Once we move to Hera 2, we could just add it to include_directories and
not bother adding it specifically for 3 python files + some tests and
examples.
[skip ci]
Diffstat (limited to 'src/Nerve_GIC/test/CMakeLists.txt')
-rw-r--r-- | src/Nerve_GIC/test/CMakeLists.txt | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/Nerve_GIC/test/CMakeLists.txt b/src/Nerve_GIC/test/CMakeLists.txt index 567bf43f..e012a178 100644 --- a/src/Nerve_GIC/test/CMakeLists.txt +++ b/src/Nerve_GIC/test/CMakeLists.txt @@ -1,15 +1,12 @@ project(Graph_induced_complex_tests) -if (NOT CGAL_VERSION VERSION_LESS 4.11.0) - include(GUDHI_boost_test) +include(GUDHI_boost_test) - add_executable ( Nerve_GIC_test_unit test_GIC.cpp ) - if (TBB_FOUND) - target_link_libraries(Nerve_GIC_test_unit ${TBB_LIBRARIES}) - endif() +add_executable ( Nerve_GIC_test_unit test_GIC.cpp ) +if (TBB_FOUND) + target_link_libraries(Nerve_GIC_test_unit ${TBB_LIBRARIES}) +endif() - file(COPY data DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/) +file(COPY data DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/) - gudhi_add_boost_test(Nerve_GIC_test_unit) - -endif (NOT CGAL_VERSION VERSION_LESS 4.11.0) +gudhi_add_boost_test(Nerve_GIC_test_unit) |