diff options
| author | 2023-09-11 17:25:21 -0400 | |
|---|---|---|
| committer | 2023-09-11 23:25:21 +0200 | |
| commit | 66f2947854f993f9d907ddc9c23f7e28aa12f330 (patch) | |
| tree | b15221998b884c47ec0ee9b6b32f5e763be73767 /src/CMakeLists.txt | |
| parent | Merge pull request #11450 from lat9nq/no-vk-device-fix (diff) | |
| download | yuzu-66f2947854f993f9d907ddc9c23f7e28aa12f330.tar.gz yuzu-66f2947854f993f9d907ddc9c23f7e28aa12f330.tar.xz yuzu-66f2947854f993f9d907ddc9c23f7e28aa12f330.zip | |
ci: fix msvc when used with LTO (#11459)
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 95d54dadc..d7f68618c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -85,6 +85,7 @@ if (MSVC) | |||
| 85 | /wd4100 # 'identifier': unreferenced formal parameter | 85 | /wd4100 # 'identifier': unreferenced formal parameter |
| 86 | /wd4324 # 'struct_name': structure was padded due to __declspec(align()) | 86 | /wd4324 # 'struct_name': structure was padded due to __declspec(align()) |
| 87 | /wd4201 # nonstandard extension used : nameless struct/union | 87 | /wd4201 # nonstandard extension used : nameless struct/union |
| 88 | /wd4702 # unreachable code (when used with LTO) | ||
| 88 | ) | 89 | ) |
| 89 | 90 | ||
| 90 | if (USE_CCACHE OR YUZU_USE_PRECOMPILED_HEADERS) | 91 | if (USE_CCACHE OR YUZU_USE_PRECOMPILED_HEADERS) |