Skip to content

Commit

Permalink
fix: don't use sse or avx when building for MSYS2 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveice10 committed Jan 26, 2024
1 parent 1940cc0 commit a99c80c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cryptopp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,13 @@ endif()
if(NOT CRYPTOPP_ARM32 AND NOT CRYPTOPP_ARMV8)
list(FILTER cryptopp_SOURCES EXCLUDE REGEX "arm_|neon_|_armv4.S")
endif()
if(NOT CRYPTOPP_I386 AND NOT CRYPTOPP_AMD64)
if(
NOT CRYPTOPP_I386
AND NOT CRYPTOPP_AMD64
AND NOT CRYPTOPP_MINGW32
AND NOT CRYPTOPP_MINGW64
AND NOT CRYPTOPP_CYGWIN
)
list(FILTER cryptopp_SOURCES EXCLUDE REGEX "sse_|_sse.cpp|_avx.cpp")
endif()

Expand Down

0 comments on commit a99c80c

Please sign in to comment.