From 2aba5bdb1c8b74a4654f46748dc4746434489750 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 27 Dec 2012 19:09:41 +0100 Subject: [PATCH] install headers and library --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) 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 +) -- 2.25.1