Core/Misc: Allow formatting optionals with Trinity::StringFormat

This commit is contained in:
Shauren
2024-02-28 20:42:20 +01:00
parent 288966e796
commit 20b29c5ff5
3 changed files with 65 additions and 3 deletions

View File

@@ -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.