From 6893223f3c51356a41d093b41512c5c3d67089bf Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 3 Jul 2023 19:51:39 +0200 Subject: common.cmake: enable warnings for Clang as well I seriously can't believe I didn't have warnings enabled for Clang. That is so, so dumb. --- common.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.cmake') diff --git a/common.cmake b/common.cmake index f718dbf..2e4b674 100644 --- a/common.cmake +++ b/common.cmake @@ -114,7 +114,7 @@ function(_cc_best_practices target) message(STATUS "common.cmake: ${target}: Settings common compiler options") if(is_msvc) _cc_best_practices_msvc("${target}") - elseif(is_gcc) + elseif(is_gcc OR is_clang) _cc_best_practices_gcc("${target}") endif() endif() -- cgit v1.2.3