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 d61a112 commit aff2bb0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -713,13 +713,12 @@ if(HERMES_IS_ANDROID)

endif()

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

set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
Expand Down

0 comments on commit aff2bb0

Please sign in to comment.