summaryrefslogtreecommitdiff
path: root/src/Tangential_complex/benchmark/CMakeLists.txt
blob: 788c2b4d833abb5d7ae0bde9082788dbaae93b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cmake_minimum_required(VERSION 2.6)
project(Tangential_complex_benchmark)

# need CGAL 4.8
if(CGAL_FOUND)
  if (NOT CGAL_VERSION VERSION_LESS 4.8.0)
    if (EIGEN3_FOUND)
      add_executable(Tangential_complex_benchmark benchmark_tc.cpp)
      target_link_libraries(Tangential_complex_benchmark 
        ${Boost_DATE_TIME_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${CGAL_LIBRARY})
      if (TBB_FOUND)
        target_link_libraries(Tangential_complex_benchmark ${TBB_LIBRARIES})
      endif(TBB_FOUND)
    endif(EIGEN3_FOUND)
  endif (NOT CGAL_VERSION VERSION_LESS 4.8.0)
endif(CGAL_FOUND)