Set _WIN32_WINNT for CXX flags for Windows XP.

This commit is contained in:
Nathan Moinvaziri 2023-04-25 22:36:21 -07:00
parent 1c24464e50
commit 7fb7b06dec

View File

@ -161,7 +161,7 @@ jobs:
os: windows-latest
compiler: cl
# Don't use find_package for 3rd party libraries which are installed incorrectly on GitHub CI instances
cmake-args: -D MZ_FORCE_FETCH_LIBS=ON -D CMAKE_C_FLAGS="-D_WIN32_WINNT=0x501"
cmake-args: -D MZ_FORCE_FETCH_LIBS=ON -D CMAKE_C_FLAGS="-D_WIN32_WINNT=0x501" -D CMAKE_CXX_FLAGS="-D_WIN32_WINNT=0x501"
deploy: true
deploy-name: windowsxp