summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
Diffstat (limited to 'external')
-rw-r--r--external/CMakeLists.txt4
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()