Skip to content

Commit

Permalink
msvc: avx2
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Oct 2, 2024
1 parent eec6749 commit 9ee9423
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ if(CMAKE_C_COMPILER_ID MATCHES "MSVC")
set(WARNCFLAGS /WX)
set(WARNCXXFLAGS /WX)
endif()

add_definitions(/arch:AVX2)
else()
if(ENABLE_WERROR)
set(WARNCFLAGS "-Werror")
Expand Down

0 comments on commit 9ee9423

Please sign in to comment.