summarylogtreecommitdiffstats
path: root/geographiclib.patch
blob: f0f730f1f30540cedff0aa08a172b06e3e31c1ab (plain)
1
2
3
4
5
6
7
8
9
10
11
--- CMakeLists.txt.orig	2021-01-01 11:17:56.709028293 +0100
+++ CMakeLists.txt	2021-01-01 11:08:50.002805380 +0100
@@ -32,7 +32,7 @@
 
 # Geographiclib installs FindGeographicLib.cmake to this non-standard location
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/usr/share/cmake/geographiclib/")
-find_package(GeographicLib REQUIRED COMPONENTS STATIC)
+find_package(GeographicLib REQUIRED)
 
 # Attempt to find Eigen using its own CMake module.
 # If that fails, fall back to cmake_modules package.