aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--common.cmake2
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()