From fcc4153c2675fcf6b174e404394d91b295117902 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 28 Mar 2021 11:56:24 -0400 Subject: [PATCH] drivers/gps: explicitly link libm - needed on stripped down builds --- src/drivers/gps/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/gps/CMakeLists.txt b/src/drivers/gps/CMakeLists.txt index 065c29e6a6..dda436354b 100644 --- a/src/drivers/gps/CMakeLists.txt +++ b/src/drivers/gps/CMakeLists.txt @@ -52,3 +52,4 @@ px4_add_module( DEPENDS git_gps_devices ) +target_link_libraries(drivers__gps PRIVATE m)