option(PSEMEK_GEOM_ROBUST_PREDICATES "Use robust geometric predicates" OFF)

find_package(Boost REQUIRED)
find_package(GMP REQUIRED)

file(GLOB_RECURSE PSEMEK_GEOM_HEADERS "include/*.hpp")
file(GLOB_RECURSE PSEMEK_GEOM_SOURCES "source/*.cpp")

psemek_add_library(psemek-geom ${PSEMEK_GEOM_HEADERS} ${PSEMEK_GEOM_SOURCES})
target_include_directories(psemek-geom PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(psemek-geom PUBLIC psemek-util Boost::boost GMP)

psemek_glob_tests(psemek-geom tests)
