From 4f444a7227f47b0abe6e1b19b1b91395d1143258 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 5 Jan 2025 18:21:22 +0100 Subject: [PATCH] Warnings as errors for posix --- cmake/utils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/utils.cmake b/cmake/utils.cmake index de2aae6b..46b92dc9 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -209,7 +209,7 @@ function(momo_target_set_warnings_as_errors target) return() endif() - set(compile_options) + set(compile_options -Wall -Wextra -Wconversion -pedantic -Werror -Wno-comment) if(MSVC) set(compile_options /W4 /WX)