From f1be7cd4a0b1ba2b755182eb4e0f2fa0a8c418f0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 7 Apr 2018 19:53:19 -0400 Subject: CMakeLists: Link bochs in privately where applicable Everything that links in core doesn't need to see anything related to bochs, because it's only used internally. Anything else that relies on bochs should be linking it in explicitly. --- Source/Core/Core/CMakeLists.txt | 2 +- Source/Core/DolphinWX/CMakeLists.txt | 1 + Source/Core/UICommon/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Core') diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt index aca7f15e81..d42c959bc1 100644 --- a/Source/Core/Core/CMakeLists.txt +++ b/Source/Core/Core/CMakeLists.txt @@ -276,7 +276,6 @@ endif() target_link_libraries(core PUBLIC audiocommon - bdisasm common cubeb discio @@ -292,6 +291,7 @@ PUBLIC z PRIVATE + bdisasm ${LZO} ) diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt index 2641d490f3..8ce2d700bf 100644 --- a/Source/Core/DolphinWX/CMakeLists.txt +++ b/Source/Core/DolphinWX/CMakeLists.txt @@ -85,6 +85,7 @@ add_executable(dolphin-emu target_link_libraries(dolphin-emu PRIVATE + bdisasm core uicommon cpp-optparse diff --git a/Source/Core/UICommon/CMakeLists.txt b/Source/Core/UICommon/CMakeLists.txt index fc1cf234d6..ed94341182 100644 --- a/Source/Core/UICommon/CMakeLists.txt +++ b/Source/Core/UICommon/CMakeLists.txt @@ -15,6 +15,7 @@ PUBLIC cpp-optparse PRIVATE + bdisasm $<$:${IOK_LIBRARY}> ) -- cgit v1.2.3