Disable treating warnings as error with MSVC
This commit is contained in:
parent
056cc8db14
commit
0796bdbee6
@ -17,7 +17,7 @@ else()
|
||||
# set(CMAKE_VISIBILITY_INLINES_HIDDEN YES)
|
||||
|
||||
if (MSVC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W3 /WX /Zi /permissive-")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W3 /Zi /permissive-")
|
||||
else ()
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow -Wformat=2 -Wall -Wno-overlength-strings -pedantic")
|
||||
endif ()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user