Commit 4ec302eb authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

WolfSSL : Fix crosscompiling i386 on x86_64, on Linux

parent e22d2cfe
......@@ -6,7 +6,8 @@ ELSE()
PROJECT(wolfssl C)
ENDIF()
IF(MSVC AND (CMAKE_SIZEOF_VOID_P MATCHES 8))
IF(CMAKE_SIZEOF_VOID_P MATCHES 8)
IF(MSVC)
SET(WOLFSSL_INTELASM ON)
ELSEIF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
IF(CMAKE_C_COMPILER_ID MATCHES GNU AND CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9)
......@@ -20,6 +21,7 @@ ELSEIF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
SET(WOLFSSL_INTELASM ON)
ENDIF()
ENDIF()
ENDIF()
SET(WOLFSSL_SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/wolfssl/src)
ADD_DEFINITIONS(${SSL_DEFINES})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment