mirror of
https://github.com/libAthena/athena.git
synced 2025-12-09 21:47:52 +00:00
Set fmt defines in CMake
This commit is contained in:
6
extern/CMakeLists.txt
vendored
6
extern/CMakeLists.txt
vendored
@@ -6,4 +6,10 @@ add_subdirectory(zlib)
|
||||
add_subdirectory(yaml)
|
||||
if(NOT TARGET fmt)
|
||||
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)
|
||||
endif()
|
||||
Reference in New Issue
Block a user