CMakeLists: Fixup boost

* boost is part of the public interface.
* Consider boost a system library so warnings from boost do not cause a build failure.
* If the parent project defines boost, use that.
This commit is contained in:
MerryMage
2017-12-07 20:28:33 +00:00
parent 4f8675083c
commit 0af1e7723d
3 changed files with 9 additions and 9 deletions

View File

@@ -112,8 +112,9 @@ target_include_directories(dynarmic
PRIVATE .)
target_compile_options(dynarmic PRIVATE ${DYNARMIC_CXX_FLAGS})
target_link_libraries(dynarmic
PRIVATE
PUBLIC
boost
PRIVATE
fmt::fmt
xbyak
$<$<BOOL:DYNARMIC_USE_LLVM>:${llvm_libs}>