mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-27 13:39:33 +00:00
* update_frame parameter removed * lat, lon type changed to float64 * add reference_frames parameters * misc parameters changes
19 lines
684 B
CMake
19 lines
684 B
CMake
# taken from: https://github.com/mavlink/mavros/blob/master/libmavconn/cmake/Modules/FindGeographicLib.cmake
|
|
|
|
# Look for GeographicLib
|
|
#
|
|
# Set
|
|
# GEOGRAPHICLIB_FOUND = TRUE
|
|
# GeographicLib_INCLUDE_DIRS = /usr/local/include
|
|
# GeographicLib_LIBRARIES = /usr/local/lib/libGeographic.so
|
|
# GeographicLib_LIBRARY_DIRS = /usr/local/lib
|
|
|
|
find_path (GeographicLib_INCLUDE_DIRS NAMES GeographicLib/Config.h)
|
|
|
|
find_library (GeographicLib_LIBRARIES NAMES Geographic)
|
|
|
|
include (FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args (GeographicLib DEFAULT_MSG
|
|
GeographicLib_LIBRARIES GeographicLib_INCLUDE_DIRS)
|
|
mark_as_advanced (GeographicLib_LIBRARIES GeographicLib_INCLUDE_DIRS)
|