From 48194aa18d0f27b710f3feafa8b4530b2c9333f3 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 25 May 2023 14:38:50 +0200 Subject: [PATCH] Silence some warnings from cmake Signed-off-by: falkTX --- cmake/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 368c10935..ec7353e42 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -202,7 +202,7 @@ set_common_target_properties(carla-lilv_sord) target_compile_options(carla-lilv_sord PRIVATE $<$:/wd4005 /wd4090 /wd4133> - $<$:-Wno-unused-parameter> + $<$:-Wno-unused-parameter> # workaround compiler bug, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 $<$:-fno-strict-aliasing> ) @@ -486,7 +486,8 @@ target_compile_definitions(carla-ysfx target_compile_options(carla-ysfx PRIVATE - $<$:-fsigned-char> + $<$:/wd4297> + $<$:-fsigned-char> $<$:-Wno-extra> $<$:-Wno-ignored-attributes> $<$:-Wno-sign-compare> @@ -693,6 +694,7 @@ target_compile_options(carla-standalone $<$:-Wno-stringop-overflow> $<$:-Wno-unused-parameter> $<$:-Wno-vla> + $<$:-Wno-error=cpp> ) target_include_directories(carla-standalone