Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Added module linking
Browse files Browse the repository at this point in the history
  • Loading branch information
drahosp committed Oct 28, 2011
1 parent a2d6caf commit 2d72952
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2007-2011 LuaDist.
# Created by Peter Kapec
# 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.
Expand All @@ -8,16 +8,12 @@ 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()
find_package(OpenSSL REQUIRED)

# lua-openssl modules
install_lua_module( lua_openssl src/auxiliar.c src/bio.c src/cipher.c src/crl.c src/csr.c
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 )
src/pkey.c src/x509.c src/conf.c src/ots.c LINK ${OPENSSL_CRYPTO_LIBRARY} ${OPENSSL_SSL_LIBRARY})


# Install lua-openssl Documentation
Expand Down

0 comments on commit 2d72952

Please sign in to comment.