projects
/
project
/
ustream-ssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add polarssl support
[project/ustream-ssl.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
6af1750
..
1178c62
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-10,7
+10,11
@@
IF(APPLE)
LINK_DIRECTORIES(/opt/local/lib)
ENDIF()
LINK_DIRECTORIES(/opt/local/lib)
ENDIF()
-IF(CYASSL)
+IF(POLARSSL)
+ ADD_DEFINITIONS(-DHAVE_POLARSSL)
+ SET(SSL_SRC ustream-polarssl.c)
+ SET(SSL_LIB polarssl m)
+ELSEIF(CYASSL)
SET(SSL_SRC ustream-io-cyassl.c ustream-openssl.c)
SET(SSL_LIB cyassl m)
ELSE()
SET(SSL_SRC ustream-io-cyassl.c ustream-openssl.c)
SET(SSL_LIB cyassl m)
ELSE()