From 0e168a8ff03b90ec1626916f5b5f4c59093c1ae9 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 11 Jun 2024 14:16:36 +0200 Subject: [PATCH] Build fixes --- src/core/libs/osnma_msg_receiver.cc | 7 ++++++- src/core/system_parameters/CMakeLists.txt | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/core/libs/osnma_msg_receiver.cc b/src/core/libs/osnma_msg_receiver.cc index 92c06497a..c7fe99558 100644 --- a/src/core/libs/osnma_msg_receiver.cc +++ b/src/core/libs/osnma_msg_receiver.cc @@ -23,7 +23,6 @@ #include "gnss_satellite.h" #include "osnma_dsm_reader.h" // for OSNMA_DSM_Reader #include "osnma_helper.h" -#include // for DLOG #include // for gr::io_signature::make #include #include @@ -32,6 +31,12 @@ #include #include // for typeid +#if USE_GLOG_AND_GFLAGS +#include // for DLOG +#else +#include +#endif + #if HAS_GENERIC_LAMBDA #else #include diff --git a/src/core/system_parameters/CMakeLists.txt b/src/core/system_parameters/CMakeLists.txt index 02f727d31..518e64264 100644 --- a/src/core/system_parameters/CMakeLists.txt +++ b/src/core/system_parameters/CMakeLists.txt @@ -96,8 +96,8 @@ set(SYSTEM_PARAMETERS_HEADERS Galileo_OSNMA.h osnma_data.h osnma_dsm_reader.h - osnma_helper.cc - osnma_helper.h + osnma_helper.cc + osnma_helper.h ) list(SORT SYSTEM_PARAMETERS_HEADERS) @@ -123,6 +123,8 @@ target_link_libraries(core_system_parameters PUBLIC Boost::date_time Boost::serialization + PRIVATE + Pugixml::pugixml ) if(ENABLE_GLOG_AND_GFLAGS)