cmake: fix to not force-disable ASM for MinGW builds

This commit is contained in:
Viktor Szakats 2023-08-06 18:14:25 +00:00
parent 5c63ba9761
commit e0fd031f30
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -904,7 +904,7 @@ else()
(NOT "${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64"))
add_definitions(-DOPENSSL_NO_ASM)
endif()
elseif(WIN32)
elseif(WIN32 AND NOT MINGW)
add_definitions(-DOPENSSL_NO_ASM)
endif()
endif()