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 16
16
17
17
# Higher CMake version needed for improvments in UseSwig.cmake and string join
18
18
cmake_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.
20
21
21
22
# Turn on virtual folders for visual studio
22
23
set_property (GLOBAL PROPERTY USE_FOLDERS ON )
Original file line number Diff line number Diff line change @@ -433,6 +433,9 @@ def get_windows_args():
433
433
result_args .append ('-G Visual Studio 16 2019' )
434
434
result_args .append ('-A x64' ) # TODO flexibily for x32
435
435
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' )
436
439
return result_args
437
440
438
441
def get_macos_args ():
You can’t perform that action at this time.
0 commit comments