mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-06-26 15:12:51 +00:00
Fix building of google benchmarks in old compilers
This commit is contained in:
parent
4ba35e3d97
commit
e3364a6f12
@ -425,6 +425,12 @@ if(CMAKE_VERSION VERSION_LESS "3.17")
|
||||
set(GNSSSDR_GNSSTK_LOCAL_VERSION "13.7.0")
|
||||
endif()
|
||||
|
||||
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0) OR
|
||||
(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0) OR
|
||||
(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0))
|
||||
set(GNSSSDR_BENCHMARK_LOCAL_VERSION "1.9.2")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user