aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2023-08-06 18:14:25 +0000
committerViktor Szakats <commit@vsz.me>2023-08-10 23:01:37 +0000
commite0fd031f300570437f1aa768ea6997850a36cd0a (patch)
treef65ac5659fb1b50eb5ff068e9bc05c084a83ade2
parent5c63ba97612e1430d049be0bb7b179db24936a28 (diff)
downloadportable-e0fd031f300570437f1aa768ea6997850a36cd0a.tar.gz
portable-e0fd031f300570437f1aa768ea6997850a36cd0a.tar.bz2
portable-e0fd031f300570437f1aa768ea6997850a36cd0a.zip
cmake: fix to not force-disable ASM for MinGW builds
-rw-r--r--crypto/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index b425959..1e73e88 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -904,7 +904,7 @@ else()
904 (NOT "${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64")) 904 (NOT "${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64"))
905 add_definitions(-DOPENSSL_NO_ASM) 905 add_definitions(-DOPENSSL_NO_ASM)
906 endif() 906 endif()
907 elseif(WIN32) 907 elseif(WIN32 AND NOT MINGW)
908 add_definitions(-DOPENSSL_NO_ASM) 908 add_definitions(-DOPENSSL_NO_ASM)
909 endif() 909 endif()
910endif() 910endif()