projects
/
project
/
ustream-ssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
install headers and library
[project/ustream-ssl.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
bd8ce3f
..
640afce
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-25,3
+25,11
@@
ADD_EXECUTABLE(ustream-example ustream-example.c)
TARGET_LINK_LIBRARIES(ustream-example ustream-ssl)
SET(CMAKE_INSTALL_PREFIX /usr)
+
+FILE(GLOB headers *.h)
+INSTALL(FILES ${headers}
+ DESTINATION include/libubox
+)
+INSTALL(TARGETS ustream-ssl
+ LIBRARY DESTINATION lib
+)