1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-18 21:23:02 +00:00

Do not build google benchmarks with gcc 11 until fix

This commit is contained in:
Carles Fernandez 2020-12-08 14:01:52 +01:00
parent 399c559865
commit 4bfc11e0f4
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

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()