diff options
| author | 2023-11-06 16:46:57 -0500 | |
|---|---|---|
| committer | 2023-11-06 16:46:57 -0500 | |
| commit | f75363177ebca1e4ccf447e0bfb8894ad0136f20 (patch) | |
| tree | c7ac9865770085cb42d3b848d640ac05c1c75b90 /src | |
| parent | Merge pull request #11896 from liamwhite/crop (diff) | |
| parent | Update CMakeLists.txt (diff) | |
| download | yuzu-f75363177ebca1e4ccf447e0bfb8894ad0136f20.tar.gz yuzu-f75363177ebca1e4ccf447e0bfb8894ad0136f20.tar.xz yuzu-f75363177ebca1e4ccf447e0bfb8894ad0136f20.zip | |
Merge pull request #11977 from SamayXD/patch-1
Update CMakeLists.txt
Diffstat (limited to '')
| -rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d7f68618c..d2ca4904a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -21,7 +21,7 @@ if (MSVC) | |||
| 21 | # Avoid windows.h from including some usually unused libs like winsocks.h, since this might cause some redefinition errors. | 21 | # Avoid windows.h from including some usually unused libs like winsocks.h, since this might cause some redefinition errors. |
| 22 | add_definitions(-DWIN32_LEAN_AND_MEAN) | 22 | add_definitions(-DWIN32_LEAN_AND_MEAN) |
| 23 | 23 | ||
| 24 | # Ensure that projects build with Unicode support. | 24 | # Ensure that projects are built with Unicode support. |
| 25 | add_definitions(-DUNICODE -D_UNICODE) | 25 | add_definitions(-DUNICODE -D_UNICODE) |
| 26 | 26 | ||
| 27 | # /W4 - Level 4 warnings | 27 | # /W4 - Level 4 warnings |
| @@ -54,11 +54,11 @@ if (MSVC) | |||
| 54 | /GT | 54 | /GT |
| 55 | 55 | ||
| 56 | # Modules | 56 | # Modules |
| 57 | /experimental:module- # Disable module support explicitly due to conflicts with precompiled headers | 57 | /experimental:module- # Explicitly disable module support due to conflicts with precompiled headers. |
| 58 | 58 | ||
| 59 | # External headers diagnostics | 59 | # External headers diagnostics |
| 60 | /external:anglebrackets # Treats all headers included by #include <header>, where the header file is enclosed in angle brackets (< >), as external headers | 60 | /external:anglebrackets # Treats all headers included by #include <header>, where the header file is enclosed in angle brackets (< >), as external headers |
| 61 | /external:W0 # Sets the default warning level to 0 for external headers, effectively turning off warnings for external headers | 61 | /external:W0 # Sets the default warning level to 0 for external headers, effectively disabling warnings for them. |
| 62 | 62 | ||
| 63 | # Warnings | 63 | # Warnings |
| 64 | /W4 | 64 | /W4 |