mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 13:53:36 +02:00
Disable treating warning as errors by default
This commit is contained in:
1 parent
a7e7ea4ccf
commit
76c1e643fa
2 files changed
+2
-2
No files matched your search
@@ -4,7 +4,7 @@
|
||||
|
||||
# Helper function to enable compiler warnings for a specific set of files
|
||||
function(set_file_warnings)
|
||||
option(WARNINGS_AS_ERRORS "Treat compiler warnings as errors" TRUE)
|
||||
option(WARNINGS_AS_ERRORS "Treat compiler warnings as errors" FALSE)
|
||||
|
||||
set(MSVC_WARNINGS
|
||||
/W4 # Baseline reasonable warnings
|
||||
|
||||
Reference in new issue
Block a user