summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDanila Malyutin <d.maljutin@yandex.ru>2023-05-13 21:58:17 +0200
committerDanila Malyutin <d.maljutin@yandex.ru>2023-05-13 21:58:17 +0200
commitc9c5d140b84685a03dc59b930cebb802b4c14892 (patch)
tree31e2d09ad8dee463e7df8e4ca05ae486f347bfd4 /src
parentMerge pull request #10244 from liamwhite/lower-upper (diff)
downloadyuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.gz
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.bz2
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.lz
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.xz
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.zst
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/CMakeLists.txt6
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()