set(POINT_SRCS
  pgis_types.c
  stbox.c
  stbox_index.c
  tpoint.c
  tpoint_aggfuncs.c
  tpoint_boxops.c
  tpoint_boxops_meos.c
  tpoint_compops.c
  tpoint_distance.c
  tpoint_out.c
  tpoint_parser.c
  tpoint_posops_meos.c
  tpoint_restrict.c
  tpoint_datagen.c
  tpoint_spatialfuncs.c
  tpoint_spatialrels.c
  tpoint_tempspatialrels.c
  tpoint_tile.c
  type_srid.c
)

if(MEOS)
  list(APPEND POINT_SRCS tpoint_rtree.c)
endif()

add_library(point OBJECT ${POINT_SRCS})


