mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-12 15:27:29 -05:00
libp11 PKCS#11 provider support
This commit is contained in:

committed by
Michał Trojnara

parent
e8f19a6efe
commit
838aaaee8d
@ -27,8 +27,15 @@ set(PACKAGE_BUGREPORT "Michal.Trojnara@stunnel.org")
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-DUSE_WIN32)
|
||||
endif()
|
||||
|
||||
# load CMake library modules
|
||||
include(FindOpenSSL)
|
||||
if(OPENSSL_VERSION VERSION_LESS "1.1.1")
|
||||
message(FATAL_ERROR "OpenSSL version must be at least 1.1.1")
|
||||
endif()
|
||||
if(OPENSSL_VERSION VERSION_LESS "3.0.0")
|
||||
include(FindCURL)
|
||||
endif(OPENSSL_VERSION VERSION_LESS "3.0.0")
|
||||
|
Reference in New Issue
Block a user