From: Felix Fietkau Date: Thu, 27 Dec 2012 18:09:41 +0000 (+0100) Subject: install headers and library X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2aba5bdb1c8b74a4654f46748dc4746434489750;p=oweals%2Fustream-ssl.git install headers and library --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bd8ce3f..640afce 100644 --- 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 +)