Skip to content

Commit

Permalink
Set version
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 26, 2024
1 parent aff2bb0 commit 3bb06e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,8 @@ if(HERMES_IS_ANDROID)

endif()

if("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSCV")
# MSCV requires c++20
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC")
# MSVC requires c++20
set(CMAKE_CXX_STANDARD 20)
else()
set(CMAKE_CXX_STANDARD 17)
Expand Down

0 comments on commit 3bb06e1

Please sign in to comment.