# Install the header files including the generated Config.h (which is in
# the build tree).
set (HEADERS
  Accumulator.hpp
  AlbersEqualArea.hpp
  Angle.hpp
  AuxAngle.hpp
  AuxLatitude.hpp
  AzimuthalEquidistant.hpp
  CassiniSoldner.hpp
  CircularEngine.hpp
  Constants.hpp
  DAuxLatitude.hpp
  DMS.hpp
  DST.hpp
  Ellipsoid.hpp
  EllipticFunction.hpp
  GARS.hpp
  GeoCoords.hpp
  Geocentric.hpp
  Geodesic.hpp
  GeodesicExact.hpp
  GeodesicLine.hpp
  GeodesicLineExact.hpp
  Geohash.hpp
  Geoid.hpp
  Georef.hpp
  Gnomonic.hpp
  GravityCircle.hpp
  GravityModel.hpp
  Intersect.hpp
  LambertConformalConic.hpp
  LocalCartesian.hpp
  MGRS.hpp
  MagneticCircle.hpp
  MagneticModel.hpp
  Math.hpp
  NearestNeighbor.hpp
  NormalGravity.hpp
  OSGB.hpp
  PolarStereographic.hpp
  PolygonArea.hpp
  Rhumb.hpp
  SphericalEngine.hpp
  SphericalHarmonic.hpp
  SphericalHarmonic1.hpp
  SphericalHarmonic2.hpp
  TransverseMercator.hpp
  TransverseMercatorExact.hpp
  Trigfun.hpp
  UTMUPS.hpp
  Utility.hpp
  )
set (TRIAXIALHEADERS
  Triaxial/Cartesian3.hpp
  Triaxial/Conformal3.hpp
  Triaxial/Ellipsoid3.hpp
  Triaxial/Geodesic3.hpp
  Triaxial/GeodesicLine3.hpp
  )
if (INCDIR)
  install (FILES ${HEADERS} DESTINATION ${INCDIR}/GeographicLib)
  install (FILES ${TRIAXIALHEADERS}
    DESTINATION ${INCDIR}/GeographicLib/Triaxial)
  install (FILES ${CMAKE_CURRENT_BINARY_DIR}/Config.h
    DESTINATION ${INCDIR}/GeographicLib)
endif ()
