File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1616
1717# Higher CMake version needed for improvments in UseSwig.cmake and string join
1818cmake_minimum_required (VERSION 3.13.4)
19- set (CMAKE_CXX_STANDARD 11)
19+ set (CMAKE_CXX_STANDARD 14)
20+ set (CMAKE_CXX_STANDARD_REQUIRED YES ) # Don't fall back to an earlier version.
2021
2122# Turn on virtual folders for visual studio
2223set_property (GLOBAL PROPERTY USE_FOLDERS ON )
Original file line number Diff line number Diff line change @@ -433,6 +433,9 @@ def get_windows_args():
433433 result_args .append ('-G Visual Studio 16 2019' )
434434 result_args .append ('-A x64' ) # TODO flexibily for x32
435435 result_args .append ("-DFIREBASE_PYTHON_HOST_EXECUTABLE:FILEPATH=%s" % sys .executable )
436+ # Use a newer version of the Windows SDK, as the default one has build issues with grpc
437+ if FLAGS .gha :
438+ result_args .append ('-DCMAKE_SYSTEM_VERSION=10.0.20348.0' )
436439 return result_args
437440
438441def get_macos_args ():
You can’t perform that action at this time.
0 commit comments