CI: restore build on GCC 5

This commit is contained in:
Benoit Blanchon
2023-03-27 08:48:44 +02:00
parent 9bb3f4051d
commit 74601b2585
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