diff --git a/CMakeLists.txt b/CMakeLists.txt index c45c830c76294386695d2dcd09f6f2115a474234..945278f883d7c4e6455df5217c475fbcb91fbf01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -215,7 +215,7 @@ endif() if (YUZU_USE_BUNDLED_UNICORN) # Detect toolchain and platform if (MSVC14 AND ARCHITECTURE_x86_64) - set(UNICORN_VER "unicorn-1.0.1-yuzu") + set(UNICORN_VER "unicorn-yuzu") else() message(FATAL_ERROR "No bundled Unicorn binaries for your toolchain. Disable YUZU_USE_BUNDLED_UNICORN and provide your own.") endif() @@ -230,7 +230,8 @@ if (YUZU_USE_BUNDLED_UNICORN) set(UNICORN_FOUND YES) set(UNICORN_INCLUDE_DIR "${UNICORN_PREFIX}/include" CACHE PATH "Path to Unicorn headers") - set(UNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_static.lib" CACHE PATH "Path to Unicorn library") + set(UNICORN_LIBRARY "${UNICORN_PREFIX}/lib/x64/unicorn_dynload.lib" CACHE PATH "Path to Unicorn library") + set(UNICORN_DLL_DIR "${UNICORN_PREFIX}/lib/x64/" CACHE PATH "Path to unicorn.dll") else() find_package(unicorn REQUIRED) endif() diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt index a885f22f8acaad2595b3dea8bcc3053e86154ec5..ed92a6ae21e1d4d89bd52ae017f956a67f1dbd05 100644 --- a/src/citra/CMakeLists.txt +++ b/src/citra/CMakeLists.txt @@ -29,5 +29,7 @@ endif() if (MSVC) include(CopyCitraSDLDeps) + include(CopyYuzuUnicornDeps) copy_citra_SDL_deps(citra) + copy_yuzu_unicorn_deps(citra) endif() diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index add7566c245fe5aa32100721aa83b2567a7f4798..e2fa33081a6879dcd9c65c57c85788b7a6ab8b79 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt @@ -109,6 +109,8 @@ endif() if (MSVC) include(CopyCitraQt5Deps) include(CopyCitraSDLDeps) + include(CopyYuzuUnicornDeps) copy_citra_Qt5_deps(citra-qt) copy_citra_SDL_deps(citra-qt) + copy_yuzu_unicorn_deps(citra-qt) endif()