diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2022-06-24 14:26:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 14:26:00 +0200 |
commit | 9fc4f5e2ba50287979fc6e56708ec469d29c968c (patch) | |
tree | 2a8da721e11f78a4b54da99c15aade8ff9583cd0 /src/Cech_complex/benchmark/CMakeLists.txt | |
parent | bc683d3d9985cde2a2c80952971381d7c519db0a (diff) | |
parent | b829a198e16fbef4c0cb2698b2c723fa353aac55 (diff) |
Merge pull request #519 from Hind-M/cech_optimization
Cech optimization
Diffstat (limited to 'src/Cech_complex/benchmark/CMakeLists.txt')
-rw-r--r-- | src/Cech_complex/benchmark/CMakeLists.txt | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/Cech_complex/benchmark/CMakeLists.txt b/src/Cech_complex/benchmark/CMakeLists.txt index bc54c0f3..a6b3d70b 100644 --- a/src/Cech_complex/benchmark/CMakeLists.txt +++ b/src/Cech_complex/benchmark/CMakeLists.txt @@ -1,13 +1,15 @@ project(Cech_complex_benchmark) -# Do not forget to copy test files in current binary dir -file(COPY "${CMAKE_SOURCE_DIR}/data/points/tore3D_1307.off" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/) +if (NOT CGAL_WITH_EIGEN3_VERSION VERSION_LESS 5.0.1) + # Do not forget to copy test files in current binary dir + file(COPY "${CMAKE_SOURCE_DIR}/data/points/tore3D_1307.off" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/) -if(TARGET Boost::filesystem) - add_executable(cech_complex_benchmark cech_complex_benchmark.cpp) - target_link_libraries(cech_complex_benchmark Boost::filesystem) + if(TARGET Boost::filesystem) + add_executable(cech_complex_benchmark cech_complex_benchmark.cpp) + target_link_libraries(cech_complex_benchmark Boost::filesystem) - if (TBB_FOUND) - target_link_libraries(cech_complex_benchmark ${TBB_LIBRARIES}) + if (TBB_FOUND) + target_link_libraries(cech_complex_benchmark ${TBB_LIBRARIES}) + endif() endif() -endif()
\ No newline at end of file +endif() |