diff --git a/src/algorithms/PVT/libs/CMakeLists.txt b/src/algorithms/PVT/libs/CMakeLists.txt index e8a2d1188..fdaf03804 100644 --- a/src/algorithms/PVT/libs/CMakeLists.txt +++ b/src/algorithms/PVT/libs/CMakeLists.txt @@ -90,7 +90,7 @@ get_filename_component(PROTO_INCLUDE_HEADERS ${PROTO_HDRS} DIRECTORY) target_include_directories(pvt_libs PUBLIC ${CMAKE_SOURCE_DIR}/src/core/receiver - ${PROTO_INCLUDE_HEADERS} + SYSTEM ${PROTO_INCLUDE_HEADERS} ) target_compile_definitions(pvt_libs PRIVATE -DGNSS_SDR_VERSION="${VERSION}") diff --git a/src/core/monitor/CMakeLists.txt b/src/core/monitor/CMakeLists.txt index 991815cfe..650ca63fb 100644 --- a/src/core/monitor/CMakeLists.txt +++ b/src/core/monitor/CMakeLists.txt @@ -59,7 +59,7 @@ get_filename_component(PROTO_INCLUDE_HEADERS ${PROTO_HDRS} DIRECTORY) target_include_directories(core_monitor PUBLIC - ${PROTO_INCLUDE_HEADERS} + SYSTEM ${PROTO_INCLUDE_HEADERS} ) if(GNURADIO_USES_STD_POINTERS)