annotate Resources/CMake/OpenSslConfiguration.cmake @ 26:6ba765ecf3db

compiling openssl
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Aug 2012 15:10:02 +0200
parents
children cfe212a513c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 if (${STATIC_BUILD})
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 SET(OPENSSL_SOURCES_DIR ${CMAKE_BINARY_DIR}/openssl-1.0.1c)
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 DownloadPackage("http://www.openssl.org/source/openssl-1.0.1c.tar.gz" "${OPENSSL_SOURCES_DIR}" "" "")
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 add_definitions(
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 -DOPENSSL_THREADS
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 -DOPENSSL_IA32_SSE2
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 -DOPENSSL_NO_ASM
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 -DOPENSSL_NO_DYNAMIC_ENGINE
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 -DNO_WINDOWS_BRAINDEATH
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 -DOPENSSL_NO_BF
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 -DOPENSSL_NO_CAMELLIA
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 -DOPENSSL_NO_CAST
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 -DOPENSSL_NO_EC
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 -DOPENSSL_NO_ECDH
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 -DOPENSSL_NO_ECDSA
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 -DOPENSSL_NO_EC_NISTP_64_GCC_128
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 -DOPENSSL_NO_GMP
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 -DOPENSSL_NO_GOST
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 -DOPENSSL_NO_HW
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 -DOPENSSL_NO_JPAKE
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 -DOPENSSL_NO_IDEA
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 -DOPENSSL_NO_KRB5
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 -DOPENSSL_NO_MD2
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 -DOPENSSL_NO_MDC2
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 -DOPENSSL_NO_MD4
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 -DOPENSSL_NO_RC2
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 -DOPENSSL_NO_RC4
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 -DOPENSSL_NO_RC5
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 -DOPENSSL_NO_RFC3779
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 -DOPENSSL_NO_SCTP
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 -DOPENSSL_NO_STORE
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 -DOPENSSL_NO_SEED
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 -DOPENSSL_NO_WHIRLPOOL
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 -DOPENSSL_NO_RIPEMD
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 )
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 include_directories(
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 ${OPENSSL_SOURCES_DIR}
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 ${OPENSSL_SOURCES_DIR}/crypto
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 ${OPENSSL_SOURCES_DIR}/crypto/asn1
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 ${OPENSSL_SOURCES_DIR}/crypto/modes
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 ${OPENSSL_SOURCES_DIR}/crypto/evp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 ${OPENSSL_SOURCES_DIR}/include
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46 )
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 set(OPENSSL_SOURCES_SUBDIRS
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 ${OPENSSL_SOURCES_DIR}/crypto
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 ${OPENSSL_SOURCES_DIR}/crypto/aes
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 ${OPENSSL_SOURCES_DIR}/crypto/asn1
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 ${OPENSSL_SOURCES_DIR}/crypto/bio
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53 ${OPENSSL_SOURCES_DIR}/crypto/bn
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 ${OPENSSL_SOURCES_DIR}/crypto/buffer
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55 ${OPENSSL_SOURCES_DIR}/crypto/cmac
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 ${OPENSSL_SOURCES_DIR}/crypto/cms
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 ${OPENSSL_SOURCES_DIR}/crypto/comp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58 ${OPENSSL_SOURCES_DIR}/crypto/conf
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 ${OPENSSL_SOURCES_DIR}/crypto/des
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 ${OPENSSL_SOURCES_DIR}/crypto/dh
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61 ${OPENSSL_SOURCES_DIR}/crypto/dsa
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 ${OPENSSL_SOURCES_DIR}/crypto/dso
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 ${OPENSSL_SOURCES_DIR}/crypto/engine
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 ${OPENSSL_SOURCES_DIR}/crypto/err
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 ${OPENSSL_SOURCES_DIR}/crypto/evp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 ${OPENSSL_SOURCES_DIR}/crypto/hmac
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 ${OPENSSL_SOURCES_DIR}/crypto/lhash
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 ${OPENSSL_SOURCES_DIR}/crypto/md5
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 ${OPENSSL_SOURCES_DIR}/crypto/modes
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70 ${OPENSSL_SOURCES_DIR}/crypto/objects
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71 ${OPENSSL_SOURCES_DIR}/crypto/ocsp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 ${OPENSSL_SOURCES_DIR}/crypto/pem
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 ${OPENSSL_SOURCES_DIR}/crypto/pkcs12
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75 ${OPENSSL_SOURCES_DIR}/crypto/pqueue
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76 ${OPENSSL_SOURCES_DIR}/crypto/rand
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77 ${OPENSSL_SOURCES_DIR}/crypto/rsa
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78 ${OPENSSL_SOURCES_DIR}/crypto/sha
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 ${OPENSSL_SOURCES_DIR}/crypto/srp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 ${OPENSSL_SOURCES_DIR}/crypto/stack
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 ${OPENSSL_SOURCES_DIR}/crypto/ts
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82 ${OPENSSL_SOURCES_DIR}/crypto/txt_db
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 ${OPENSSL_SOURCES_DIR}/crypto/ui
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 ${OPENSSL_SOURCES_DIR}/crypto/x509
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85 ${OPENSSL_SOURCES_DIR}/crypto/x509v3
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 ${OPENSSL_SOURCES_DIR}/ssl
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 )
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
88
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
89 foreach(d ${OPENSSL_SOURCES_SUBDIRS})
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 AUX_SOURCE_DIRECTORY(${d} OPENSSL_SOURCES)
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91 endforeach()
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
93 list(REMOVE_ITEM OPENSSL_SOURCES
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_nyi.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
95 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_unix.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
96 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_vms.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_win.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
98 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_win32.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
99 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_wince.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
100 ${OPENSSL_SOURCES_DIR}/crypto/armcap.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
101 ${OPENSSL_SOURCES_DIR}/crypto/bf/bfs.cpp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102 ${OPENSSL_SOURCES_DIR}/crypto/bio/bss_rtcp.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103 ${OPENSSL_SOURCES_DIR}/crypto/bn/exp.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104 ${OPENSSL_SOURCES_DIR}/crypto/conf/cnf_save.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 ${OPENSSL_SOURCES_DIR}/crypto/conf/test.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 ${OPENSSL_SOURCES_DIR}/crypto/des/des3s.cpp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
107 ${OPENSSL_SOURCES_DIR}/crypto/des/des_opts.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 ${OPENSSL_SOURCES_DIR}/crypto/des/dess.cpp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 ${OPENSSL_SOURCES_DIR}/crypto/des/read_pwd.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 ${OPENSSL_SOURCES_DIR}/crypto/des/speed.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 ${OPENSSL_SOURCES_DIR}/crypto/evp/e_dsa.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112 ${OPENSSL_SOURCES_DIR}/crypto/evp/m_ripemd.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113 ${OPENSSL_SOURCES_DIR}/crypto/lhash/lh_test.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114 ${OPENSSL_SOURCES_DIR}/crypto/md5/md5s.cpp
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/bio_ber.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/pk7_enc.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 ${OPENSSL_SOURCES_DIR}/crypto/ppccap.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118 ${OPENSSL_SOURCES_DIR}/crypto/s390xcap.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119 ${OPENSSL_SOURCES_DIR}/crypto/sparcv9cap.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
120 ${OPENSSL_SOURCES_DIR}/crypto/x509v3/tabtest.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
121 ${OPENSSL_SOURCES_DIR}/crypto/x509v3/v3conf.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
122 ${OPENSSL_SOURCES_DIR}/ssl/ssl_task.c
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
123 )
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
124
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
125 add_library(OpenSSL STATIC ${OPENSSL_SOURCES})
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
126 link_libraries(OpenSSL)
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
127
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
128 else()
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
129 include(FindOpenSSL)
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
130
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
131 if (NOT ${OPENSSL_FOUND})
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
132 message(FATAL_ERROR "Unable to find OpenSSL")
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
133 endif()
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
134
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
135 include_directories(${OPENSSL_INCLUDE_DIR})
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
136 link_libraries(${OPENSSL_LIBRARIES})
6ba765ecf3db compiling openssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
137 endif()