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:
James Rowe 2017-05-16 20:55:38 -06:00 committed by Merry
parent c1ec5dc8a4
commit 82e8c99a47

View file

@ -115,7 +115,7 @@ target_compile_options(dynarmic PRIVATE ${DYNARMIC_CXX_FLAGS})
target_link_libraries(dynarmic
PRIVATE
boost
fmt-header-only
fmt
xbyak
$<$<BOOL:DYNARMIC_USE_LLVM>:${llvm_libs}>
)