vcpkg/ports/geographiclib/usage

8 lines
325 B
Plaintext
Raw Normal View History

The package geographiclib:x64-linux provides CMake targets:
find_package(GeographicLib CONFIG REQUIRED)
#dynamic
target_link_libraries(main PRIVATE GeographicLib GeographicLib::GeographicLib)
#static
target_link_libraries(main PRIVATE GeographicLib_STATIC GeographicLib::GeographicLib_STATIC)