Skip to content

Commit

Permalink
Test flag
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 27, 2024
1 parent 7b05a19 commit 83113c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,9 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC")
if (HERMES_MSVC_MP)
add_definitions( /MP )
endif()
# MSVC does not have strict aliasing so there is no need to support it.
# Similar to GCC/Clang above, disable strict signed integer overflow.
append("/WX /wd4293" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
endif()

# Export a JSON file with the compilation commands that external tools can use
Expand Down

0 comments on commit 83113c6

Please sign in to comment.