1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-04 20:08:00 +00:00

Merge branch 'fix-gcc-11' into next

This commit is contained in:
Carles Fernandez
2020-12-09 14:45:51 +01:00

View File

@@ -113,7 +113,8 @@ if(ENABLE_FPGA)
endif()
option(ENABLE_BENCHMARKS "Build code snippets benchmarks" OFF)
if(CMAKE_VERSION VERSION_LESS 3.5.1)
if(CMAKE_VERSION VERSION_LESS 3.5.1 OR
(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "10.99"))
set(ENABLE_BENCHMARKS OFF)
endif()