From 1700a598f6921ad459ae053dcc998c472a3f41a7 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Fri, 30 Dec 2022 14:59:07 +0200 Subject: [PATCH] Enable -Werror for CI only, attempt 2 --- CMakePresets.json | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakePresets.json b/CMakePresets.json index 3ea47c488..d31671bc1 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -24,6 +24,7 @@ "PACKAGE_NAME_SUFFIX" : "$env{VCMI_PACKAGE_NAME_SUFFIX}", "CMAKE_BUILD_TYPE": "RelWithDebInfo", "ENABLE_TEST": "OFF", + "ENABLE_STRICT_COMPILATION": "ON", "ENABLE_GITVERSION": "$env{VCMI_PACKAGE_GITVERSION}" } },