From 7935e614d1469175fe30f1d6aa89c21798f24461 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sun, 16 Jan 2022 13:29:51 -0800 Subject: [PATCH] CMakeLists: Change DiscIO dependency from common to core DiscIO depends on some IOS functions and other functions, which are in Core and not Common. This results in link errors if using DiscIO on its own (which is why DolphinTool had a listed dependency on videocommon; videocommon has a dependency on core so adding that made things build). --- Source/Core/DiscIO/CMakeLists.txt | 2 +- Source/Core/DolphinTool/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/DiscIO/CMakeLists.txt b/Source/Core/DiscIO/CMakeLists.txt index cf13329f99..e9627d0156 100644 --- a/Source/Core/DiscIO/CMakeLists.txt +++ b/Source/Core/DiscIO/CMakeLists.txt @@ -66,7 +66,7 @@ add_library(discio target_link_libraries(discio PUBLIC - common + core BZip2::BZip2 lzma zstd diff --git a/Source/Core/DolphinTool/CMakeLists.txt b/Source/Core/DolphinTool/CMakeLists.txt index a5bbe2908c..e5ccada861 100644 --- a/Source/Core/DolphinTool/CMakeLists.txt +++ b/Source/Core/DolphinTool/CMakeLists.txt @@ -14,7 +14,6 @@ target_link_libraries(dolphin-tool PRIVATE discio uicommon - videocommon cpp-optparse )