diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-02-28 20:42:20 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-02-28 20:42:20 +0100 |
commit | 20b29c5ff56c605d52fb6e391c28daea26ab719a (patch) | |
tree | b97c7bc41678ac254981fc4624ae78074112a725 /cmake/compiler/clang | |
parent | 288966e796bfa4309fdcb08b9392b61befc3faab (diff) |
Core/Misc: Allow formatting optionals with Trinity::StringFormat
Diffstat (limited to 'cmake/compiler/clang')
-rw-r--r-- | cmake/compiler/clang/settings.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/compiler/clang/settings.cmake b/cmake/compiler/clang/settings.cmake index e8944bf3294..0fa27e6493c 100644 --- a/cmake/compiler/clang/settings.cmake +++ b/cmake/compiler/clang/settings.cmake @@ -140,11 +140,12 @@ endif() # -Wno-narrowing needed to suppress a warning in g3d # -Wno-deprecated-register is needed to suppress 185 gsoap warnings on Unix systems. -# -Wno-deprecated-copy needed to suppress a warning in g3d +# -Wno-undefined-inline needed for a compile time optimization hack with fmt target_compile_options(trinity-compile-option-interface INTERFACE -Wno-narrowing - -Wno-deprecated-register) + -Wno-deprecated-register + -Wno-undefined-inline) if(BUILD_SHARED_LIBS) # -fPIC is needed to allow static linking in shared libs. |