Skip to content

Commit

Permalink
SHARED linking for Geographiclib (#624)
Browse files Browse the repository at this point in the history
* remove GeographicLib specific linking option
  • Loading branch information
AchmadFathoni authored Mar 22, 2021
1 parent a2da33b commit a5eda33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ endif()

# 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.
Expand Down

0 comments on commit a5eda33

Please sign in to comment.