From fec240efba42761e999f11eef8c78ef6374291d1 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Thu, 13 Feb 2025 12:14:53 +0200 Subject: [PATCH] src/lib/airspeed/CMakeLists.txt: Link to "atmosphere" library Fix a linking error of not finding "atmosphere::getDensityFromPressureAndTemp(float, float)" Signed-off-by: Jukka Laitinen --- src/lib/airspeed/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/airspeed/CMakeLists.txt b/src/lib/airspeed/CMakeLists.txt index 959149e72e..7d4102b899 100644 --- a/src/lib/airspeed/CMakeLists.txt +++ b/src/lib/airspeed/CMakeLists.txt @@ -32,3 +32,4 @@ ############################################################################ px4_add_library(airspeed airspeed.cpp) +target_link_libraries(airspeed PRIVATE atmosphere)