diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-03 19:51:39 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-03 19:51:44 +0200 |
commit | 6893223f3c51356a41d093b41512c5c3d67089bf (patch) | |
tree | bb4baf9da5aab529814449639510167003b148db | |
parent | docs/cmake: update references (diff) | |
download | cmake-common-6893223f3c51356a41d093b41512c5c3d67089bf.tar.gz cmake-common-6893223f3c51356a41d093b41512c5c3d67089bf.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | common.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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() |