Skip to content

Commit

Permalink
test windows v6
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 13, 2024
1 parent 72e2da3 commit d09d6c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +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.
string(APPEND CMAKE_C_FLAGS " /d2UndefIntOverflow-")
string(APPEND CMAKE_CXX_FLAGS " /d2UndefIntOverflow-")
# append("/d2UndefIntOverflow-" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)

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 d09d6c3

Please sign in to comment.