CMakeLists: Define FMT_USE_USER_DEFINED_LITERALS=0

This disable a fmtlib feature that depends on a non-standard feature
for its implementation.
This commit is contained in:
MerryMage 2019-05-08 22:18:56 +01:00
parent 44b61212e5
commit 3513ed1c60
2 changed files with 4 additions and 0 deletions

View file

@ -299,6 +299,8 @@ endif()
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
target_compile_definitions(dynarmic PRIVATE FMT_USE_WINDOWS_H=0)
endif()
# Disable this as it relies on a non-standard feature
target_compile_definitions(dynarmic PRIVATE FMT_USE_USER_DEFINED_LITERALS=0)
export(
TARGETS dynarmic boost fmt xbyak