Fix pkg-config name gpsd.
authorBas Couwenberg <sebastic@debian.org>
Wed, 13 Mar 2024 14:22:13 +0000 (15:22 +0100)
committerBas Couwenberg <sebastic@debian.org>
Wed, 13 Mar 2024 14:22:13 +0000 (15:22 +0100)
Forwarded: https://github.com/openstreetmap/merkaartor/pull/294

libgps-dev provides libgps.pc.

Gbp-Pq: Name gpsd.patch

CMakeLists.txt

index 07913186bb21f0fc1cab71fa574252b050af3367..10fe1651c1daaf48d89cceae7abfe04a1fa389f2 100644 (file)
@@ -510,7 +510,7 @@ if (GEOIMAGE)
 endif()
 
 if (GPSD)
-    list(APPEND PKGCONFIG_REQUIRED_LIBS gpsd)
+    list(APPEND PKGCONFIG_REQUIRED_LIBS libgps)
     add_definitions(-DUSE_GPS=1)
 endif()