Skip to content

Commit

Permalink
test windows v11
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 13, 2024
1 parent 47d0a3f commit 7f69dbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC")
# string(APPEND CMAKE_C_FLAGS " -d2UndefIntOverflow-")
# string(APPEND CMAKE_CXX_FLAGS " -d2UndefIntOverflow-")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++20")
add_compile_options(/std:c++20)
endif()

# Export a JSON file with the compilation commands that external tools can use
Expand Down Expand Up @@ -715,7 +716,7 @@ if(HERMES_IS_ANDROID)
find_package(fbjni REQUIRED CONFIG)
endif()

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down

0 comments on commit 7f69dbf

Please sign in to comment.