Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+79
@@ -0,0 +1,79 @@
|
||||
# Version checking for GeographicLib
|
||||
|
||||
set (PACKAGE_VERSION "2.7")
|
||||
set (PACKAGE_VERSION_MAJOR "2")
|
||||
set (PACKAGE_VERSION_MINOR "7")
|
||||
set (PACKAGE_VERSION_PATCH "0")
|
||||
|
||||
# These variable definitions parallel those in GeographicLib's
|
||||
# cmake/CMakeLists.txt.
|
||||
if (MSVC)
|
||||
# For checking the compatibility of MSVC_TOOLSET_VERSION; see
|
||||
# https://docs.microsoft.com/en-us/cpp/porting/overview-of-potential-upgrade-issues-visual-cpp
|
||||
# Assume major version number is obtained by dropping the last decimal
|
||||
# digit.
|
||||
math (EXPR MSVC_TOOLSET_MAJOR "${MSVC_TOOLSET_VERSION}/10")
|
||||
endif ()
|
||||
|
||||
if (NOT PACKAGE_FIND_NAME STREQUAL "GeographicLib")
|
||||
# Check package name (in particular, because of the way cmake finds
|
||||
# package config files, the capitalization could easily be "wrong").
|
||||
# This is necessary to ensure that the automatically generated
|
||||
# variables, e.g., <package>_FOUND, are consistently spelled.
|
||||
set (REASON "package = GeographicLib, NOT ${PACKAGE_FIND_NAME}")
|
||||
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||
elseif (NOT (APPLE OR (NOT DEFINED CMAKE_SIZEOF_VOID_P) OR
|
||||
CMAKE_SIZEOF_VOID_P EQUAL 8))
|
||||
# Reject if there's a 32-bit/64-bit mismatch (not necessary with Apple
|
||||
# since a multi-architecture library is built for that platform).
|
||||
set (REASON "sizeof(*void) = 8")
|
||||
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||
elseif (MSVC AND NOT (
|
||||
# toolset version must be at least as great as GeographicLib's.
|
||||
MSVC_TOOLSET_VERSION GREATER_EQUAL 0
|
||||
# and major versions must match
|
||||
AND MSVC_TOOLSET_MAJOR EQUAL 0 ))
|
||||
# Reject if there's a mismatch in MSVC compiler versions.
|
||||
set (REASON "MSVC_TOOLSET_VERSION = 0")
|
||||
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||
elseif (GEOGRAPHICLIB_PRECISION MATCHES "^[1-9][0-9]*\$" AND NOT (
|
||||
GEOGRAPHICLIB_PRECISION EQUAL 2 ))
|
||||
# Reject if the user asks for an incompatible precsision.
|
||||
set (REASON "GEOGRAPHICLIB_PRECISION = 2")
|
||||
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||
elseif (CMAKE_CROSSCOMPILING AND
|
||||
NOT (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND
|
||||
CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64"))
|
||||
# Reject if cross-compiling and there's a mismatch in the target system.
|
||||
set (REASON "target = Linux-x86_64")
|
||||
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||
elseif (PACKAGE_FIND_VERSION)
|
||||
if (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
|
||||
set (PACKAGE_VERSION_EXACT TRUE)
|
||||
elseif (PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION
|
||||
AND PACKAGE_FIND_VERSION_MAJOR EQUAL PACKAGE_VERSION_MAJOR)
|
||||
set (PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
set (GeographicLib_SHARED_FOUND ON)
|
||||
set (GeographicLib_STATIC_FOUND OFF)
|
||||
|
||||
# Check for the components requested. The convention is that
|
||||
# GeographicLib_${comp}_FOUND should be true for all the required
|
||||
# components.
|
||||
if (GeographicLib_FIND_COMPONENTS)
|
||||
foreach (comp ${GeographicLib_FIND_COMPONENTS})
|
||||
if (GeographicLib_FIND_REQUIRED_${comp} AND
|
||||
NOT GeographicLib_${comp}_FOUND)
|
||||
set (REASON "without ${comp}")
|
||||
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||
endif ()
|
||||
endforeach ()
|
||||
endif ()
|
||||
|
||||
# If unsuitable, append the reason to the package version so that it's
|
||||
# visible to the user.
|
||||
if (PACKAGE_VERSION_UNSUITABLE)
|
||||
set (PACKAGE_VERSION "${PACKAGE_VERSION} (${REASON})")
|
||||
endif ()
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
# Configure GeographicLib
|
||||
#
|
||||
# Set
|
||||
# GeographicLib_FOUND = TRUE
|
||||
# GeographicLib_INCLUDE_DIRS = /usr/local/include
|
||||
# GeographicLib_SHARED_LIBRARIES = GeographicLib_SHARED (or empty)
|
||||
# GeographicLib_STATIC_LIBRARIES = GeographicLib_STATIC (or empty)
|
||||
# GeographicLib_LIBRARY_DIRS = /usr/local/lib
|
||||
# GeographicLib_BINARY_DIRS = /usr/local/bin
|
||||
# GeographicLib_VERSION = 1.34 (for example)
|
||||
# GEOGRAPHICLIB_DATA = /usr/local/share/GeographicLib (for example)
|
||||
# Depending on GeographicLib_USE_STATIC_LIBS
|
||||
# GeographicLib_LIBRARIES = ${GeographicLib_SHARED_LIBRARIES}, if OFF
|
||||
# GeographicLib_LIBRARIES = ${GeographicLib_STATIC_LIBRARIES}, if ON
|
||||
# If only one of the libraries is provided, then
|
||||
# GeographicLib_USE_STATIC_LIBS is ignored.
|
||||
#
|
||||
# Since cmake 2.8.11 or later, there's no need to include
|
||||
# include_directories (${GeographicLib_INCLUDE_DIRS})
|
||||
# The variables are retained for information.
|
||||
#
|
||||
# The following variables are only relevant if the library has been
|
||||
# compiled with a default precision different from double:
|
||||
# GEOGRAPHICLIB_PRECISION = the precision of the library (usually 2)
|
||||
# GeographicLib_HIGHPREC_LIBRARIES = the libraries need for high precision
|
||||
|
||||
message (STATUS "Reading ${CMAKE_CURRENT_LIST_FILE}")
|
||||
# GeographicLib_VERSION is set by version file
|
||||
message (STATUS
|
||||
"GeographicLib configuration, version ${GeographicLib_VERSION}")
|
||||
|
||||
# Tell the user project where to find our headers and libraries
|
||||
get_filename_component (_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
||||
if (IS_ABSOLUTE "../../..")
|
||||
# This is an uninstalled package (still in the build tree)
|
||||
set (_ROOT "../../..")
|
||||
set (GeographicLib_INCLUDE_DIRS "")
|
||||
set (GeographicLib_LIBRARY_DIRS "${_ROOT}/src")
|
||||
set (GeographicLib_BINARY_DIRS "${_ROOT}/tools")
|
||||
else ()
|
||||
# This is an installed package; figure out the paths relative to the
|
||||
# current directory.
|
||||
get_filename_component (_ROOT "${_DIR}/../../.." ABSOLUTE)
|
||||
set (GeographicLib_INCLUDE_DIRS "${_ROOT}/include")
|
||||
set (GeographicLib_LIBRARY_DIRS "${_ROOT}/lib")
|
||||
set (GeographicLib_BINARY_DIRS "${_ROOT}/bin")
|
||||
endif ()
|
||||
set (GEOGRAPHICLIB_DATA "/usr/local/share/GeographicLib")
|
||||
set (GEOGRAPHICLIB_PRECISION 2)
|
||||
set (GeographicLib_HIGHPREC_LIBRARIES "")
|
||||
|
||||
set (GeographicLib_SHARED_LIBRARIES GeographicLib::GeographicLib_SHARED)
|
||||
set (GeographicLib_STATIC_LIBRARIES )
|
||||
# Read in the exported definition of the library
|
||||
include ("${_DIR}/geographiclib-targets.cmake")
|
||||
|
||||
# For interoperability with older installations of GeographicLib and
|
||||
# with packages which depend on GeographicLib, GeographicLib_LIBRARIES
|
||||
# etc. still point to the non-namespace variables. Tentatively plan to
|
||||
# transition to namespace variables as follows:
|
||||
#
|
||||
# * namespace targets were introduced with version 1.47 (2017-02-15)
|
||||
# * switch GeographicLib_LIBRARIES to point to namespace variable after
|
||||
# 2020-02
|
||||
# * remove non-namespace variables after 2023-02
|
||||
|
||||
unset (_ROOT)
|
||||
unset (_DIR)
|
||||
|
||||
if ((NOT GeographicLib_SHARED_LIBRARIES) OR
|
||||
(GeographicLib_USE_STATIC_LIBS AND GeographicLib_STATIC_LIBRARIES))
|
||||
set (GeographicLib_LIBRARIES ${GeographicLib_STATIC_LIBRARIES})
|
||||
message (STATUS " \${GeographicLib_LIBRARIES} set to static library")
|
||||
else ()
|
||||
set (GeographicLib_LIBRARIES ${GeographicLib_SHARED_LIBRARIES})
|
||||
message (STATUS " \${GeographicLib_LIBRARIES} set to shared library")
|
||||
endif ()
|
||||
|
||||
# Check for the components requested. This only supports components
|
||||
# STATIC and SHARED by checking the value of
|
||||
# GeographicLib_${comp}_LIBRARIES. No need to check if the component
|
||||
# is required or not--the version file took care of that.
|
||||
# GeographicLib_${comp}_FOUND is set appropriately for each component.
|
||||
if (GeographicLib_FIND_COMPONENTS)
|
||||
foreach (comp ${GeographicLib_FIND_COMPONENTS})
|
||||
if (GeographicLib_${comp}_LIBRARIES)
|
||||
set (GeographicLib_${comp}_FOUND TRUE)
|
||||
message (STATUS "GeographicLib component ${comp} found")
|
||||
else ()
|
||||
set (GeographicLib_${comp}_FOUND FALSE)
|
||||
message (WARNING "GeographicLib component ${comp} not found")
|
||||
endif ()
|
||||
endforeach ()
|
||||
endif ()
|
||||
|
||||
# GeographicLib_FOUND is set to TRUE automatically
|
||||
set (GEOGRAPHICLIB_FOUND TRUE) # for backwards compatibility, deprecated
|
||||
+154
@@ -0,0 +1,154 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file for configuration "Release".
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "GeographicLib::GeographicLib_SHARED" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::GeographicLib_SHARED APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::GeographicLib_SHARED PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libGeographicLib.so.26.2.1"
|
||||
IMPORTED_SONAME_RELEASE "libGeographicLib.so.26"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::GeographicLib_SHARED )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::GeographicLib_SHARED "${_IMPORT_PREFIX}/lib/libGeographicLib.so.26.2.1" )
|
||||
|
||||
# Import target "GeographicLib::CartConvert" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::CartConvert APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::CartConvert PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/CartConvert"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::CartConvert )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::CartConvert "${_IMPORT_PREFIX}/bin/CartConvert" )
|
||||
|
||||
# Import target "GeographicLib::ConicProj" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::ConicProj APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::ConicProj PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/ConicProj"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::ConicProj )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::ConicProj "${_IMPORT_PREFIX}/bin/ConicProj" )
|
||||
|
||||
# Import target "GeographicLib::GeodesicProj" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::GeodesicProj APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::GeodesicProj PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/GeodesicProj"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::GeodesicProj )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::GeodesicProj "${_IMPORT_PREFIX}/bin/GeodesicProj" )
|
||||
|
||||
# Import target "GeographicLib::GeoConvert" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::GeoConvert APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::GeoConvert PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/GeoConvert"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::GeoConvert )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::GeoConvert "${_IMPORT_PREFIX}/bin/GeoConvert" )
|
||||
|
||||
# Import target "GeographicLib::GeodSolve" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::GeodSolve APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::GeodSolve PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/GeodSolve"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::GeodSolve )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::GeodSolve "${_IMPORT_PREFIX}/bin/GeodSolve" )
|
||||
|
||||
# Import target "GeographicLib::GeoidEval" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::GeoidEval APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::GeoidEval PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/GeoidEval"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::GeoidEval )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::GeoidEval "${_IMPORT_PREFIX}/bin/GeoidEval" )
|
||||
|
||||
# Import target "GeographicLib::Gravity" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::Gravity APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::Gravity PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/Gravity"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::Gravity )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::Gravity "${_IMPORT_PREFIX}/bin/Gravity" )
|
||||
|
||||
# Import target "GeographicLib::IntersectTool" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::IntersectTool APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::IntersectTool PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/IntersectTool"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::IntersectTool )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::IntersectTool "${_IMPORT_PREFIX}/bin/IntersectTool" )
|
||||
|
||||
# Import target "GeographicLib::MagneticField" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::MagneticField APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::MagneticField PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/MagneticField"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::MagneticField )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::MagneticField "${_IMPORT_PREFIX}/bin/MagneticField" )
|
||||
|
||||
# Import target "GeographicLib::Planimeter" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::Planimeter APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::Planimeter PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/Planimeter"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::Planimeter )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::Planimeter "${_IMPORT_PREFIX}/bin/Planimeter" )
|
||||
|
||||
# Import target "GeographicLib::RhumbSolve" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::RhumbSolve APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::RhumbSolve PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/RhumbSolve"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::RhumbSolve )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::RhumbSolve "${_IMPORT_PREFIX}/bin/RhumbSolve" )
|
||||
|
||||
# Import target "GeographicLib::TransverseMercatorProj" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::TransverseMercatorProj APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::TransverseMercatorProj PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/TransverseMercatorProj"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::TransverseMercatorProj )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::TransverseMercatorProj "${_IMPORT_PREFIX}/bin/TransverseMercatorProj" )
|
||||
|
||||
# Import target "GeographicLib::Cart3Convert" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::Cart3Convert APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::Cart3Convert PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/Cart3Convert"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::Cart3Convert )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::Cart3Convert "${_IMPORT_PREFIX}/bin/Cart3Convert" )
|
||||
|
||||
# Import target "GeographicLib::Conformal3Proj" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::Conformal3Proj APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::Conformal3Proj PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/Conformal3Proj"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::Conformal3Proj )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::Conformal3Proj "${_IMPORT_PREFIX}/bin/Conformal3Proj" )
|
||||
|
||||
# Import target "GeographicLib::Geod3Solve" for configuration "Release"
|
||||
set_property(TARGET GeographicLib::Geod3Solve APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(GeographicLib::Geod3Solve PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/Geod3Solve"
|
||||
)
|
||||
|
||||
list(APPEND _cmake_import_check_targets GeographicLib::Geod3Solve )
|
||||
list(APPEND _cmake_import_check_files_for_GeographicLib::Geod3Solve "${_IMPORT_PREFIX}/bin/Geod3Solve" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
+159
@@ -0,0 +1,159 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
||||
message(FATAL_ERROR "CMake >= 2.8.0 required")
|
||||
endif()
|
||||
if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
||||
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.8.3...3.26)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_cmake_targets_defined "")
|
||||
set(_cmake_targets_not_defined "")
|
||||
set(_cmake_expected_targets "")
|
||||
foreach(_cmake_expected_target IN ITEMS GeographicLib::GeographicLib_SHARED GeographicLib::GeographicLib GeographicLib::CartConvert GeographicLib::ConicProj GeographicLib::GeodesicProj GeographicLib::GeoConvert GeographicLib::GeodSolve GeographicLib::GeoidEval GeographicLib::Gravity GeographicLib::IntersectTool GeographicLib::MagneticField GeographicLib::Planimeter GeographicLib::RhumbSolve GeographicLib::TransverseMercatorProj GeographicLib::Cart3Convert GeographicLib::Conformal3Proj GeographicLib::Geod3Solve)
|
||||
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
||||
if(TARGET "${_cmake_expected_target}")
|
||||
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
||||
else()
|
||||
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_cmake_expected_target)
|
||||
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
||||
unset(_cmake_targets_defined)
|
||||
unset(_cmake_targets_not_defined)
|
||||
unset(_cmake_expected_targets)
|
||||
unset(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT _cmake_targets_defined STREQUAL "")
|
||||
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
||||
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
||||
endif()
|
||||
unset(_cmake_targets_defined)
|
||||
unset(_cmake_targets_not_defined)
|
||||
unset(_cmake_expected_targets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target GeographicLib::GeographicLib_SHARED
|
||||
add_library(GeographicLib::GeographicLib_SHARED SHARED IMPORTED)
|
||||
|
||||
set_target_properties(GeographicLib::GeographicLib_SHARED PROPERTIES
|
||||
INTERFACE_COMPILE_FEATURES "cxx_std_17"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
|
||||
)
|
||||
|
||||
# Create imported target GeographicLib::GeographicLib
|
||||
add_library(GeographicLib::GeographicLib INTERFACE IMPORTED)
|
||||
|
||||
set_target_properties(GeographicLib::GeographicLib PROPERTIES
|
||||
INTERFACE_LINK_LIBRARIES "GeographicLib::GeographicLib_SHARED"
|
||||
)
|
||||
|
||||
# Create imported target GeographicLib::CartConvert
|
||||
add_executable(GeographicLib::CartConvert IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::ConicProj
|
||||
add_executable(GeographicLib::ConicProj IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::GeodesicProj
|
||||
add_executable(GeographicLib::GeodesicProj IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::GeoConvert
|
||||
add_executable(GeographicLib::GeoConvert IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::GeodSolve
|
||||
add_executable(GeographicLib::GeodSolve IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::GeoidEval
|
||||
add_executable(GeographicLib::GeoidEval IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::Gravity
|
||||
add_executable(GeographicLib::Gravity IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::IntersectTool
|
||||
add_executable(GeographicLib::IntersectTool IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::MagneticField
|
||||
add_executable(GeographicLib::MagneticField IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::Planimeter
|
||||
add_executable(GeographicLib::Planimeter IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::RhumbSolve
|
||||
add_executable(GeographicLib::RhumbSolve IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::TransverseMercatorProj
|
||||
add_executable(GeographicLib::TransverseMercatorProj IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::Cart3Convert
|
||||
add_executable(GeographicLib::Cart3Convert IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::Conformal3Proj
|
||||
add_executable(GeographicLib::Conformal3Proj IMPORTED)
|
||||
|
||||
# Create imported target GeographicLib::Geod3Solve
|
||||
add_executable(GeographicLib::Geod3Solve IMPORTED)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.0.0)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 3.0.0 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/geographiclib-targets-*.cmake")
|
||||
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
||||
include("${_cmake_config_file}")
|
||||
endforeach()
|
||||
unset(_cmake_config_file)
|
||||
unset(_cmake_config_files)
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
||||
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
||||
if(NOT EXISTS "${_cmake_file}")
|
||||
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
||||
\"${_cmake_file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_cmake_file)
|
||||
unset("_cmake_import_check_files_for_${_cmake_target}")
|
||||
endforeach()
|
||||
unset(_cmake_target)
|
||||
unset(_cmake_import_check_targets)
|
||||
|
||||
# This file does not depend on other imported targets which have
|
||||
# been exported from the same project but in a separate export set.
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
Reference in new issue
Block a user