Skip to content

Commit

Permalink
Unify CMake and Makefile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
olanti-p committed Nov 3, 2023
1 parent d68920c commit f7cba0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ if (NOT MSVC)
-Wsuggest-override \
-Wunused-macros \
-Wzero-as-null-pointer-constant \
-Wno-unknown-warning-option \
-Wno-dangling-reference \
-Wno-range-loop-analysis")
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
set(CATA_WARNINGS "${CATA_WARNINGS} -Wno-unknown-warning-option")
Expand Down

0 comments on commit f7cba0d

Please sign in to comment.