From e27ad2d9ed1803ede4ec627ef14c8307b83f01ce Mon Sep 17 00:00:00 2001 From: Jerome Hue Date: Sun, 2 Feb 2025 23:24:59 +0100 Subject: [PATCH] Build telemetry-related files for all targets --- Sts1CobcSw/FramSections/CMakeLists.txt | 4 +--- Sts1CobcSw/FramSections/TelemetryMemory.hpp | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sts1CobcSw/FramSections/CMakeLists.txt b/Sts1CobcSw/FramSections/CMakeLists.txt index 537b0b6b..1b09a4dd 100644 --- a/Sts1CobcSw/FramSections/CMakeLists.txt +++ b/Sts1CobcSw/FramSections/CMakeLists.txt @@ -3,6 +3,4 @@ target_link_libraries( Sts1CobcSw_Serial Sts1CobcSw_Utility ) -if(CMAKE_SYSTEM_NAME STREQUAL Generic) - target_link_libraries(Sts1CobcSw_FramSections PRIVATE TelemetryRecord.cpp TelemetryMemory.cpp) -endif() +target_sources(Sts1CobcSw_FramSections PRIVATE TelemetryRecord.cpp TelemetryMemory.cpp) diff --git a/Sts1CobcSw/FramSections/TelemetryMemory.hpp b/Sts1CobcSw/FramSections/TelemetryMemory.hpp index b37956cb..afab0eb4 100644 --- a/Sts1CobcSw/FramSections/TelemetryMemory.hpp +++ b/Sts1CobcSw/FramSections/TelemetryMemory.hpp @@ -1,7 +1,9 @@ #pragma once +#include #include +#include #include #include