mirror of https://github.com/ecmwf/eccodes.git
CMake: Attempt to fix broken CI workflow (clang@rocky-8.6)
This commit is contained in:
parent
15c5c2ebcc
commit
1eb6c9ae16
|
@ -74,9 +74,11 @@ endif()
|
|||
# some variables/options of this project
|
||||
|
||||
if( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
|
||||
ecbuild_add_cxx_flags("-Wno-write-strings -Wno-deprecated")
|
||||
ecbuild_add_cxx_flags("-Wno-write-strings")
|
||||
ecbuild_add_cxx_flags("-Wno-deprecated")
|
||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
|
||||
ecbuild_add_cxx_flags("-Wno-write-strings -Wno-deprecated")
|
||||
ecbuild_add_cxx_flags("-Wno-write-strings")
|
||||
ecbuild_add_cxx_flags("-Wno-deprecated")
|
||||
elseif( CMAKE_CXX_COMPILER_ID STREQUAL "Cray" )
|
||||
set(CMAKE_CXX_FLAGS "-hstd=c++11 ${CMAKE_CXX_FLAGS}")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue