Skip to content

Commit

Permalink
Merge Pull Request #13771 from sebrowne/Trilinos/disable-warnings-onl…
Browse files Browse the repository at this point in the history
…y-gcc

Automatically Merged using Trilinos Pull Request AutoTester
PR Title: b'Framework: Only disable GCC warnings for GCC'
PR Author: sebrowne
  • Loading branch information
trilinos-autotester authored Feb 4, 2025
2 parents 4d727d3 + 1f7989f commit 2b4d2cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/ProjectCompilerPostConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,6 @@ elseif("${Trilinos_WARNINGS_MODE}" STREQUAL "ERROR")
disable_warnings_for_deprecated_packages()
endif()

disable_warnings("${explicitly_disabled_warnings}")
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
disable_warnings("${explicitly_disabled_warnings}")
endif()

0 comments on commit 2b4d2cd

Please sign in to comment.