Commit 420ef05f authored by Rudolf Weeber's avatar Rudolf Weeber Committed by Florian Weik

CI: no -wno-private-field on intel

parent e94449d7
Pipeline #3279 failed with stages
in 4 minutes and 36 seconds
......@@ -370,8 +370,8 @@ if(WARNINGS_ARE_ERRORS)
endif()
endif(WARNINGS_ARE_ERRORS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-sign-compare -Wno-unused-function -Wno-unused-variable")
if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# G++ doesn't know this flag
if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
# G++ and Intel don't know this flag
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-private-field")
endif()
if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "4.8.5")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment