CI: restore build on GCC 5

This commit is contained in:
Benoit Blanchon
2023-03-27 08:48:44 +02:00
parent 8516b368ad
commit b3eada9c7f
3 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ add_executable(IntegrationTests
openweathermap.cpp
)
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 6)
target_compile_options(IntegrationTests
PUBLIC
-fsingle-precision-constant # issue 544