From f79332bb7d195fbb8aaaced1e3e20877d5d84dd2 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 10 Aug 2022 16:44:50 +0200 Subject: [PATCH] Fix building for compilers using C++11 (Debian 8, Centos 7) for std::string_literals --- src/algorithms/libs/rtklib/CMakeLists.txt | 1 + src/algorithms/libs/rtklib/rtklib_stream.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/algorithms/libs/rtklib/CMakeLists.txt b/src/algorithms/libs/rtklib/CMakeLists.txt index 8bab07358..fae644536 100644 --- a/src/algorithms/libs/rtklib/CMakeLists.txt +++ b/src/algorithms/libs/rtklib/CMakeLists.txt @@ -68,6 +68,7 @@ endif() target_link_libraries(algorithms_libs_rtklib PRIVATE core_system_parameters + algorithms_libs Gflags::gflags Glog::glog LAPACK::LAPACK diff --git a/src/algorithms/libs/rtklib/rtklib_stream.cc b/src/algorithms/libs/rtklib/rtklib_stream.cc index 6c7a10b02..76b77d0de 100644 --- a/src/algorithms/libs/rtklib/rtklib_stream.cc +++ b/src/algorithms/libs/rtklib/rtklib_stream.cc @@ -31,6 +31,7 @@ */ #include "rtklib_stream.h" +#include "gnss_sdr_string_literals.h" // for std::string_literals #include "rtklib_rtkcmn.h" #include "rtklib_solution.h" #include