Skip to content

Commit

Permalink
test windows v8
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 13, 2024
1 parent 0fb4121 commit 1edb1dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -565,10 +565,10 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC")
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("/d2UndefIntOverflow-" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
append(" /d2UndefIntOverflow-" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)

string(APPEND CMAKE_C_FLAGS " -d2UndefIntOverflow-")
string(APPEND CMAKE_CXX_FLAGS " -d2UndefIntOverflow-")
# string(APPEND CMAKE_C_FLAGS " -d2UndefIntOverflow-")
# string(APPEND CMAKE_CXX_FLAGS " -d2UndefIntOverflow-")
endif()

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

0 comments on commit 1edb1dc

Please sign in to comment.