build: disable spectre diagnostic for Visual Studio 2015
This commit is contained in:
parent
0857889a0f
commit
040ba6e466
@ -7,7 +7,7 @@ link_libraries(ws2_32)
|
|||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_compile_options(/Wall /WX /wd4127 /wd4201 /wd4242 /wd4710 /wd4711 /wd4820)
|
add_compile_options(/Wall /WX /wd4127 /wd4201 /wd4242 /wd4710 /wd4711 /wd4820)
|
||||||
if(MSVC_VERSION GREATER_EQUAL 1914)
|
if(MSVC_VERSION GREATER_EQUAL 1900)
|
||||||
add_compile_options(/wd5045)
|
add_compile_options(/wd5045)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user