projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add install targets
[project/ubus.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
e579297
..
11044cb
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-16,3
+16,12
@@
TARGET_LINK_LIBRARIES(cli ubus ubox)
ADD_EXECUTABLE(listener listener.c)
TARGET_LINK_LIBRARIES(listener ubus ubox)
+SET(CMAKE_INSTALL_PREFIX /usr)
+
+INSTALL(TARGETS ubus cli
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin
+)
+INSTALL(TARGETS ubusd
+ RUNTIME DESTINATION sbin
+)