aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMake
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-07-07 00:16:08 +0300
committerlevlam <levlam@telegram.org>2023-07-07 00:16:08 +0300
commit282b5231570980bbb7379b1339be380bab359c3d (patch)
treea81657616e1cbe661fd8acf944137a100d5b4a36 /CMake
parent0f8de6c91d4b43ad14ba35a10729ba67277769e8 (diff)
Silence useless clang warning.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/TdSetUpCompiler.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/TdSetUpCompiler.cmake b/CMake/TdSetUpCompiler.cmake
index 536c5efb2..80f05916b 100644
--- a/CMake/TdSetUpCompiler.cmake
+++ b/CMake/TdSetUpCompiler.cmake
@@ -121,6 +121,7 @@ function(td_set_up_compiler)
add_cxx_compiler_flag("-Wdeprecated")
add_cxx_compiler_flag("-Wno-unused-command-line-argument")
add_cxx_compiler_flag("-Qunused-arguments")
+ add_cxx_compiler_flag("-Wno-unknown-warning-option")
add_cxx_compiler_flag("-Wodr")
add_cxx_compiler_flag("-flto-odr-type-merging")