Fix masm build

- Fix masm operators and comments
- Add -DOPENSSL_NO_ASM only if not 64 bit build
- Add -DCMAKE_INSTALL_PREFIX to avoid build error
This commit is contained in:
kinichiro
2019-05-19 13:20:06 +09:00
committed by Brent Cook
parent c6f8ca2bc6
commit bbb662b69c
4 changed files with 19 additions and 5 deletions

View File

@@ -920,7 +920,11 @@ endif()
if(NOT ENABLE_ASM)
add_definitions(-DOPENSSL_NO_ASM)
else()
if(WIN32)
if(MSVC)
if(NOT "${CMAKE_GENERATOR}" MATCHES "Win64")
add_definitions(-DOPENSSL_NO_ASM)
endif()
elseif(WIN32)
add_definitions(-DOPENSSL_NO_ASM)
endif()
endif()