From 1b14ce5db3b34dd6df9c76397c5e7d8ddf78bfc1 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 14 Dec 2024 20:55:42 +0200 Subject: [PATCH] [WIDL] Turn warnings into errors --- sdk/tools/widl/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/tools/widl/CMakeLists.txt b/sdk/tools/widl/CMakeLists.txt index 0a4533f03b0..4c0818489d0 100644 --- a/sdk/tools/widl/CMakeLists.txt +++ b/sdk/tools/widl/CMakeLists.txt @@ -48,4 +48,6 @@ if(MSVC) # Disable warning "'=': conversion from 'a' to 'b', possible loss of data" target_compile_options(widl PRIVATE "/wd4244") + + target_compile_options(widl PRIVATE "-WX") endif()