aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMake
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-04-10 14:06:15 +0300
committerlevlam <levlam@telegram.org>2025-04-10 14:06:15 +0300
commit6571af5d49bf9b05361187599b156e93face92df (patch)
tree7e728447ef4134ff10d3f1dafafb0a424607445f /CMake
parent0a96edcf317dbf6880ce3bc8a5c4ac7b98239dd0 (diff)
Disable 'bidirectional' GCC warning, which seems to be the same as bidi-chars warning on RedHat.
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 1ffc24815..b110810ec 100644
--- a/CMake/TdSetUpCompiler.cmake
+++ b/CMake/TdSetUpCompiler.cmake
@@ -164,6 +164,7 @@ function(td_set_up_compiler)
if (GCC AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13.0))
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104030
add_cxx_compiler_flag("-Wbidi-chars=none")
+ add_cxx_compiler_flag("-Wno-bidirectional")
endif()
if (MINGW)