diff options
author | LC <mathew1800@gmail.com> | 2020-11-25 21:09:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 21:09:13 -0500 |
commit | b70751ccb9b6251b8342ec3edad193168084e5bc (patch) | |
tree | 21b2d6aaf8de5dfd2361e13c4f811602c2fe792f /src | |
parent | 0e15c68f54ae5217e6247603b9e31757515f89e1 (diff) | |
parent | e48e9a406caf69ca7943aac34f073260f9c46954 (diff) |
Merge pull request #5003 from jbeich/clang
input_common: unbreak -Werror with Clang
Diffstat (limited to 'src')
-rw-r--r-- | src/input_common/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index 1d1b2e08a..5682e5ca5 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt @@ -56,8 +56,8 @@ else() -Werror=reorder -Werror=shadow -Werror=sign-compare - -Werror=unused-but-set-parameter - -Werror=unused-but-set-variable + $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> + $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> -Werror=unused-variable ) endif() |