From e408bd3b7ce0f584475da88a770319bccca780b4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 20 Oct 2020 22:15:59 -0400 Subject: core: Fix clang build pt.2 Resolves the clang build issue in a more unintrusive way. --- src/core/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/core/CMakeLists.txt') diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index b6dc25f6b..db1c9fdef 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -630,9 +630,12 @@ else() -Werror=implicit-fallthrough -Werror=reorder -Werror=sign-compare - -Werror=unused-but-set-parameter - -Werror=unused-but-set-variable -Werror=unused-variable + + $<$:-Werror=unused-but-set-parameter> + $<$:-Werror=unused-but-set-variable> + + -Wno-sign-conversion ) endif() -- cgit v1.2.3