mirror of https://github.com/AxioDL/logvisor.git
Set FMT_ARM_ABI_COMPATIBILITY; move fmt defines to CMake
This commit is contained in:
parent
33e7322595
commit
984d87348e
|
@ -10,6 +10,12 @@ endif()
|
|||
include (CMakePackageConfigHelpers)
|
||||
|
||||
add_subdirectory(fmt)
|
||||
target_compile_definitions(fmt PUBLIC
|
||||
FMT_STRING_ALIAS=1
|
||||
FMT_ARM_ABI_COMPATIBILITY=1
|
||||
FMT_EXCEPTIONS=0)
|
||||
target_compile_definitions(fmt INTERFACE
|
||||
FMT_ENFORCE_COMPILE_STRING=1)
|
||||
|
||||
add_library(logvisor
|
||||
lib/logvisor.cpp
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
#include <memory>
|
||||
#include <mutex>
|
||||
|
||||
#define FMT_STRING_ALIAS 1
|
||||
#define FMT_ENFORCE_COMPILE_STRING 1
|
||||
#include <fmt/format.h>
|
||||
|
||||
#if defined(__SWITCH__) && !defined(LOGVISOR_NX_LM)
|
||||
|
|
Loading…
Reference in New Issue