diff options
| author | bunnei <bunneidev@gmail.com> | 2020-04-16 21:12:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-16 21:12:33 -0400 |
| commit | 79c1269f0fd25e8aaf090cd1f4640a52237a3fd3 (patch) | |
| tree | cef3d04b0e14887bbcb6b021d42e2420ae1588a4 /src/CMakeLists.txt | |
| parent | c81f2561111541e1b5b7f18b70ea69f93a33904d (diff) | |
| parent | 1c340c6efad903580904297730d708ce8b947eb6 (diff) | |
Merge pull request #3673 from lioncash/extra
CMakeLists: Specify -Wextra on linux builds
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e40e9b0a5..0913be72c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -53,8 +53,11 @@ if (MSVC) else() add_compile_options( -Wall + -Werror=implicit-fallthrough -Werror=reorder + -Wextra -Wno-attributes + -Wno-unused-parameter ) if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) |
