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