// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
// SPDX-License-Identifier: BSD-3-Clause
#ifndef vtk_libproj_h
#define vtk_libproj_h

/* Use the libproj library configured for VTK.  */
#cmakedefine01 VTK_MODULE_USE_EXTERNAL_vtklibproj

#define VTK_LibPROJ_MAJOR_VERSION @LibPROJ_MAJOR_VERSION@

#if VTK_LibPROJ_MAJOR_VERSION < 5
# define PROJ_VERSION_MAJOR @LibPROJ_MAJOR_VERSION@
# define proj_list_operations pj_get_list_ref
#endif

#if VTK_MODULE_USE_EXTERNAL_vtklibproj
# if VTK_LibPROJ_MAJOR_VERSION >= 5
#  include <proj.h>
#  include <proj/io.hpp>
#  include <proj/nn.hpp>
#  include <proj/crs.hpp>
# else
#  include <projects.h>
# endif
# include <geodesic.h>
#else
# include <vtklibproj/src/proj.h>
# include <vtklibproj/src/geodesic.h>
# include <vtklibproj/include/proj/io.hpp>
# include <vtklibproj/include/proj/nn.hpp>
# include <vtklibproj/include/proj/crs.hpp>
#endif


#endif
