Switch to VS2019 build images for CI

Requires suppressing warning C5105 caused by Windows SDK headers
This commit is contained in:
Cameron Gutman
2021-04-29 17:54:22 -05:00
parent b0737b882d
commit 65047ac0e2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ if (BUILD_SHARED_LIBS_OVERRIDE)
endif()
if(MSVC)
target_compile_options(moonlight-common-c PRIVATE /W3 /wd4100 /wd4232 /WX)
target_compile_options(moonlight-common-c PRIVATE /W3 /wd4100 /wd4232 /wd5105 /WX)
target_link_libraries(moonlight-common-c PRIVATE ws2_32.lib qwave.lib winmm.lib)
else()
target_compile_options(moonlight-common-c PRIVATE -Wall -Wextra -Wno-unused-parameter -Werror)