projects
/
project
/
ustream-ssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmake: Find libubox/ustream.h header file
[project/ustream-ssl.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 2ce9bf894219f0c1cc95f68e24394be4fa8cca01..49e79a1f2694fe88ba70f62bf0daf1f4037250ff 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-29,6
+29,9
@@
ELSE()
SET(SSL_LIB crypto ssl)
ENDIF()
+FIND_PATH(ubox_include_dir libubox/ustream.h)
+INCLUDE_DIRECTORIES(${ubox_include_dir})
+
ADD_LIBRARY(ustream-ssl SHARED ustream-ssl.c ${SSL_SRC})
TARGET_LINK_LIBRARIES(ustream-ssl ubox ${SSL_LIB})