diff options
| author | Yong He <yonghe@outlook.com> | 2025-03-18 09:19:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-18 09:19:35 -0700 |
| commit | 336b5d56d197fc64be75611c9dcaac71c56996d8 (patch) | |
| tree | 909f8097819c6c425a38cb93e451bd7eb6cab410 | |
| parent | 24c9611a8296395dfad23c6ae136fab585dff735 (diff) | |
Fix MSVC warning D9025 when building external dependencies. (#6630)
* Fix MSVC warning D9025 when building external dependencies.
* revert unrelated change.
| -rw-r--r-- | external/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index a590fe538..0e0fd7f37 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -20,9 +20,7 @@ endif() # Similarly, disable warnings for external projects if(NOT SLANG_ENABLE_EXTERNAL_COMPILER_WARNINGS) - if(MSVC) - add_compile_options(/W0) - else() + if(NOT MSVC) add_compile_options(-w) endif() endif() |
