Skip to content

Commit

Permalink
Remove ICC/Clang unsupported ignore warnings (#996)
Browse files Browse the repository at this point in the history
* remove ICC unsupported ignore warnings
* update CompilerFlagsHelpers.cmake

closes #991
  • Loading branch information
alexsavulescu committed Apr 13, 2021
1 parent bdbee64 commit cf3a61f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/CompilerFlagsHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,8 @@ foreach(COMPILER_LANGUAGE ${SUPPORTED_COMPILER_LANGUAGE_LIST})
if(CMAKE_${COMPILER_LANGUAGE}_COMPILER_ID STREQUAL "PGI")
set(CMAKE_${COMPILER_LANGUAGE}_WARNING_ALL "")
endif()
if(CMAKE_${COMPILER_LANGUAGE}_COMPILER_ID MATCHES "Clang|AppleClang")
set(CMAKE_${COMPILER_LANGUAGE}_IGNORE_WARNINGS "-Wno-writable-strings")
endif()
endif()
endforeach()

0 comments on commit cf3a61f

Please sign in to comment.