summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology/benchmark/CMakeLists.txt
blob: ad8dc84bcb30d3eaea5cf38291e07c61425a153d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
project(Persistent_cohomology_benchmark)
  
if(GMP_FOUND)
   if(GMPXX_FOUND)
     if (TARGET Boost::program_options)
       add_executable ( performance_rips_persistence EXCLUDE_FROM_ALL performance_rips_persistence.cpp )
       target_link_libraries(performance_rips_persistence Boost::program_options ${GMPXX_LIBRARIES} ${GMP_LIBRARIES})
       if (TBB_FOUND)
         target_link_libraries(performance_rips_persistence ${TBB_LIBRARIES})
       endif(TBB_FOUND)
       file(COPY "${CMAKE_SOURCE_DIR}/data/points/Kl.off" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
     endif()
   endif(GMPXX_FOUND)
endif(GMP_FOUND)