Skip to content

Commit

Permalink
try specifying system version
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Feb 27, 2025
1 parent a49892a commit 7385215
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ def _build_dependencies_impl(self, build_dir, install_path, osx_arch=None):
cmake_args = [cmake]
cmake_args.append(f'-H{source_dir}')
cmake_args.append(f'-B{build_dir}')

# This is the minimum version of the Windows SDK needed for schannel.h with SCH_CREDENTIALS and
# TLS_PARAMETERS. These are required to build Windows Binaries with TLS 1.3 support.
cmake_args.append('-DCMAKE_SYSTEM_VERSION=10.0.17763.0')

cmake_args.extend(determine_generator_args())
cmake_args.extend(determine_cross_compile_args())
cmake_args.extend([
Expand Down

0 comments on commit 7385215

Please sign in to comment.