Generic if not UNIX

Change-Id: I1b80420903b52d8639bd0f1abd786bfcae2d7fd2
This commit is contained in:
Henry Case 2019-03-27 14:12:35 +00:00
parent e8d0560801
commit 6eaae47dca

View File

@ -1,8 +1,12 @@
cmake_minimum_required(VERSION 2.8.11)
include_directories(../../include)
set(ASM_EXT S)
enable_language(ASM)
if(UNIX)
set(ASM_EXT S)
enable_language(ASM)
else()
set(OPENSSL_NO_ASM "1")
endif()
# Platform specific sources
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64" AND NOT OPENSSL_NO_ASM)