# Created by the script cgal_create_cmake_script
# This is the CMake script for compiling a CGAL application.

cmake_minimum_required(VERSION 3.12...3.31)
project(Hyperbolic_triangulation_2_Tests)

find_package(CGAL REQUIRED COMPONENTS Core)
find_package(LEDA QUIET)

if (CGAL_Core_FOUND OR LEDA_FOUND)
  create_single_source_cgal_program("ht2_test_clear.cpp")
  create_single_source_cgal_program("ht2_test_locate.cpp")
  create_single_source_cgal_program("ht2_test_remove.cpp")
  create_single_source_cgal_program("ht2_test_swap.cpp")
  create_single_source_cgal_program("ht2_test_copy.cpp")
  create_single_source_cgal_program("ht2_test_hyperbolic_circulator.cpp")
  create_single_source_cgal_program("ht2_test_insert_degenerate.cpp")
else()
  message("NOTICE: Tests require CGAL_Core (or LEDA), and will not be compiled.")
endif()
