forked from zhaozg/lua-openssl
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
27 lines (20 loc) · 863 Bytes
/
CMakeLists.txt
File metadata and controls
27 lines (20 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (C) 2007-2011 LuaDist.
# Created by Peter Kapec
# 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 )
if(NOT OPENSSL_FOUND)
message("cannot find openssl.")
endif()
# lua-openssl modules
install_lua_module( lua_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 )
# Install lua-openssl Documentation
install_data( README STATE )
# Install Tests
install_test( test/ )