[openssl] Add BSD-generic64

This commit is contained in:
Robert Schumacher 2018-03-13 06:19:20 -07:00
parent 7142a09344
commit 511128b1c0
2 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,9 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(PLATFORM linux-generic32)
endif()
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(PLATFORM darwin64-x86_64-cc)
set(PLATFORM darwin64-x86_64-cc)
elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
set(PLATFORM BSD-generic64)
else()
message(FATAL_ERROR "Unknown platform")
endif()

View File

@ -13,6 +13,11 @@ if(CMAKE_HOST_WIN32)
else()
find_program(PERL perl)
find_program(NASM nasm)
if(NOT PERL)
message(FATAL_ERROR "Could not find perl. Please install it through your system package manager.")
elseif(NOT NASM)
message(FATAL_ERROR "Could not find nasm. Please install it through your system package manager.")
endif()
endif()
get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY)