diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-05-28 19:18:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 19:18:06 +0200 |
commit | 379d4b5e6a210ea5065543845a45655bd104596b (patch) | |
tree | 2281a214ece00269b0c9a29f12e7a0aeb6112e21 /src | |
parent | Merge pull request #10283 from danilaml/support-interlaced-videos (diff) | |
parent | Fixup upload.ps1 for GHA (diff) | |
download | yuzu-379d4b5e6a210ea5065543845a45655bd104596b.tar yuzu-379d4b5e6a210ea5065543845a45655bd104596b.tar.gz yuzu-379d4b5e6a210ea5065543845a45655bd104596b.tar.bz2 yuzu-379d4b5e6a210ea5065543845a45655bd104596b.tar.lz yuzu-379d4b5e6a210ea5065543845a45655bd104596b.tar.xz yuzu-379d4b5e6a210ea5065543845a45655bd104596b.tar.zst yuzu-379d4b5e6a210ea5065543845a45655bd104596b.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 2d7b9ab65..84d9ca796 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -378,11 +378,7 @@ if(UNIX AND NOT APPLE) endif() if (WIN32 AND QT_VERSION VERSION_GREATER_EQUAL 6) - if (MSVC AND NOT ${CMAKE_GENERATOR} STREQUAL "Ninja") - set(YUZU_EXE_DIR "${CMAKE_BINARY_DIR}/bin/$<CONFIG>") - else() - set(YUZU_EXE_DIR "${CMAKE_BINARY_DIR}/bin") - endif() + set(YUZU_EXE_DIR "$<TARGET_FILE_DIR:yuzu>") add_custom_command(TARGET yuzu POST_BUILD COMMAND ${WINDEPLOYQT_EXECUTABLE} "${YUZU_EXE_DIR}/yuzu.exe" --dir "${YUZU_EXE_DIR}" --libdir "${YUZU_EXE_DIR}" --plugindir "${YUZU_EXE_DIR}/plugins" --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-translations --verbose 0) endif() |