summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-07 19:53:19 -0400
committerLioncash <mathew1800@gmail.com>2018-04-08 04:59:58 -0400
commitf1be7cd4a0b1ba2b755182eb4e0f2fa0a8c418f0 (patch)
tree8ecf95a161198efcde2ad374b6af084639642a99 /Source/Core
parent75574b7b97faf2500e33761d670c22e45b7b9fd7 (diff)
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.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/CMakeLists.txt2
-rw-r--r--Source/Core/DolphinWX/CMakeLists.txt1
-rw-r--r--Source/Core/UICommon/CMakeLists.txt1
3 files changed, 3 insertions, 1 deletions
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
$<$<BOOL:APPLE>:${IOK_LIBRARY}>
)