From f9cf4d86a86e5d85f017c4f28d89650bbf64f2aa Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 25 Aug 2022 17:30:00 +0200 Subject: cmake: ignore unused parameters for now This is a dumb warning. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 69b7690..1cd508c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,7 +5,7 @@ project(tinyCI VERSION 0.0.1 LANGUAGES C) if(MSVC) add_compile_options(/W4 /WX) else() - add_compile_options(-Wall -Wextra -Werror) + add_compile_options(-Wall -Wextra -Werror -Wno-error=unused-parameter) endif() add_compile_definitions(_GNU_SOURCE) -- cgit v1.2.3