Fix the Mac build

This commit is contained in:
wheremyfoodat 2023-03-14 00:12:40 +02:00
parent e1abfda98b
commit 1a4379f67f
3 changed files with 3 additions and 1 deletions

View file

@ -353,7 +353,7 @@ endif ()
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Intel" OR CMAKE_CXX_COMPILER MATCHES "xlC")
if (CRYPTOPP_AMD64 OR CRYPTOPP_I386)
if (CRYPTOPP_AMD64 OR CRYPTOPP_I386 AND FALSE)
CheckCompileLinkOption("-msse2" CRYPTOPP_IA32_SSE2
"${TEST_PROG_DIR}/test_x86_sse2.cxx")
CheckCompileLinkOption("-mssse3" CRYPTOPP_IA32_SSSE3