mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
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.
This commit is contained in:
@ -276,7 +276,6 @@ endif()
|
||||
target_link_libraries(core
|
||||
PUBLIC
|
||||
audiocommon
|
||||
bdisasm
|
||||
common
|
||||
cubeb
|
||||
discio
|
||||
@ -292,6 +291,7 @@ PUBLIC
|
||||
z
|
||||
|
||||
PRIVATE
|
||||
bdisasm
|
||||
${LZO}
|
||||
)
|
||||
|
||||
|
@ -85,6 +85,7 @@ add_executable(dolphin-emu
|
||||
|
||||
target_link_libraries(dolphin-emu
|
||||
PRIVATE
|
||||
bdisasm
|
||||
core
|
||||
uicommon
|
||||
cpp-optparse
|
||||
|
@ -15,6 +15,7 @@ PUBLIC
|
||||
cpp-optparse
|
||||
|
||||
PRIVATE
|
||||
bdisasm
|
||||
$<$<BOOL:APPLE>:${IOK_LIBRARY}>
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user