forked from zhaozg/lua-openssl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
23 lines (17 loc) · 877 Bytes
/
CMakeLists.txt
File metadata and controls
23 lines (17 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (C) 2007-2011 LuaDist.
# Created by F¨¦lix A.A.
# Redistribution and use of this file is allowed according to the terms of the MIT license.
# For details see the COPYRIGHT file distributed with LuaDist.
# Please note that the package source code is licensed under its own license.
project ( lua-openssl C )
cmake_minimum_required ( VERSION 2.8 )
include ( dist.cmake )
find_package(OpenSSL REQUIRED)
# lua-openssl modules
install_lua_module( openssl src/auxiliar.c src/bio.c src/cipher.c src/crl.c src/csr.c
src/digest.c src/misc.c src/openssl.c src/pkcs12.c src/pkcs7.c
src/pkey.c src/x509.c src/conf.c src/ots.c LINK ${OPENSSL_CRYPTO_LIBRARY} ${OPENSSL_SSL_LIBRARY})
# Install lua-openssl Documentation
install_data( README STATE )
# Install Tests
install_test( test/ )