mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 13:50:05 +00:00
Merge pull request #1318 from davidgyu/dev_ninja_msvc_warn_level
Fixed inconsistent warning levels for MSVC builds
This commit is contained in:
commit
2f335a427b
@ -242,9 +242,6 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANGCC OR CMAKE_COMPILER_IS_IC
|
|||||||
|
|
||||||
elseif(MSVC)
|
elseif(MSVC)
|
||||||
|
|
||||||
# Turn on all warnings
|
|
||||||
list(APPEND OSD_COMPILER_FLAGS /Wall)
|
|
||||||
|
|
||||||
list(APPEND OSD_COMPILER_FLAGS
|
list(APPEND OSD_COMPILER_FLAGS
|
||||||
/W3 # Use warning level recommended for production purposes.
|
/W3 # Use warning level recommended for production purposes.
|
||||||
/WX # Treat all compiler warnings as errors.
|
/WX # Treat all compiler warnings as errors.
|
||||||
|
Loading…
Reference in New Issue
Block a user