Link against static fmtlib instead of header only
When including fmtlib as a header only library in dynarmic, downstream projects cannot include fmtlib as a static library without getting linker errors.
This commit is contained in:
parent
c1ec5dc8a4
commit
82e8c99a47
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ target_compile_options(dynarmic PRIVATE ${DYNARMIC_CXX_FLAGS})
|
||||||
target_link_libraries(dynarmic
|
target_link_libraries(dynarmic
|
||||||
PRIVATE
|
PRIVATE
|
||||||
boost
|
boost
|
||||||
fmt-header-only
|
fmt
|
||||||
xbyak
|
xbyak
|
||||||
$<$<BOOL:DYNARMIC_USE_LLVM>:${llvm_libs}>
|
$<$<BOOL:DYNARMIC_USE_LLVM>:${llvm_libs}>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue