Skip to content

Commit

Permalink
Use installed GeographicLib CMake file
Browse files Browse the repository at this point in the history
As it's done in mavros mavlink/mavros#1775
  • Loading branch information
okalachev committed Mar 7, 2024
1 parent 7d022a5 commit cfeff0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 2 additions & 0 deletions clover/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ find_package(catkin REQUIRED COMPONENTS

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")

# https://github.com/mavlink/mavros/blob/7f1a8/mavros/CMakeLists.txt#L42
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};/usr/share/cmake/geographiclib")
find_package(GeographicLib REQUIRED)

# Workaround for OpenCV 3/4 support
Expand Down
18 changes: 0 additions & 18 deletions clover/cmake/FindGeographicLib.cmake

This file was deleted.

0 comments on commit cfeff0c

Please sign in to comment.