summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2023-03-27 18:55:08 -0600
committerLinus Groh <mail@linusgroh.de>2023-03-28 09:18:50 +0100
commit1c01856021f1b2f80c83136b4a430691f21bbf92 (patch)
tree89de94a38f6c4d6fcd3228ceb6e441a1579515fb
parent4608e4143eb75e48cab81c598f37460585ce76c8 (diff)
downloadserenity-1c01856021f1b2f80c83136b4a430691f21bbf92.zip
Meta: Diable Wshorten-64-to-32 explicitly to silence Xcode defaults
Xcode will set this by default when creating a new project unless we set an xcode property to disable it. Instead of doing that, disable it globally.
-rw-r--r--Meta/CMake/lagom_compile_options.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/CMake/lagom_compile_options.cmake b/Meta/CMake/lagom_compile_options.cmake
index e83ced5f7d..de6b4176cd 100644
--- a/Meta/CMake/lagom_compile_options.cmake
+++ b/Meta/CMake/lagom_compile_options.cmake
@@ -3,6 +3,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/common_compile_options.cmake)
add_compile_options(-Wno-implicit-const-int-float-conversion)
add_compile_options(-Wno-literal-suffix)
add_compile_options(-Wno-maybe-uninitialized)
+add_compile_options(-Wno-shorten-64-to-32)
add_compile_options(-Wno-unknown-warning-option)
add_compile_options(-Wno-unused-command-line-argument)
add_compile_options(-fsigned-char)