From 82e8c99a47ba13d29c5a0785e1b14f1de7e46251 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Tue, 16 May 2017 20:55:38 -0600 Subject: [PATCH] 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. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4b2affab..4a4f0d5b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -115,7 +115,7 @@ target_compile_options(dynarmic PRIVATE ${DYNARMIC_CXX_FLAGS}) target_link_libraries(dynarmic PRIVATE boost - fmt-header-only + fmt xbyak $<$:${llvm_libs}> )