summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-05-28 14:30:15 -0400
committerGitHub <noreply@github.com>2022-05-28 14:30:15 -0400
commit8a858c2623bc8be34f2f675c0caea6a3bdc70afc (patch)
tree0deb7cbbcc103c1b6373538759a69da71c684a2d /src
parentd879741ec6e6396331965dc2683d3de0d8b3880f (diff)
parent6e12eb80a005bc9616fce2927ba9165557332e28 (diff)
Merge pull request #8385 from lat9nq/just-subsys-win
yuzu-qt: Call -Wl,--subsystem,windows directly
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index 2ee21f751..404acdd05 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -240,7 +240,7 @@ elseif(WIN32)
if(MSVC)
set_target_properties(yuzu PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS")
elseif(MINGW)
- set_target_properties(yuzu PROPERTIES LINK_FLAGS_RELEASE "-mwindows")
+ set_target_properties(yuzu PROPERTIES LINK_FLAGS_RELEASE "-Wl,--subsystem,windows")
endif()
endif()