add install targets
This commit is contained in:
parent
659a98c810
commit
875619ed4e
2 changed files with 10 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,3 +9,4 @@ ubus.sock
|
||||||
listener
|
listener
|
||||||
ubusd
|
ubusd
|
||||||
ubus
|
ubus
|
||||||
|
install_manifest.txt
|
||||||
|
|
|
@ -16,3 +16,12 @@ TARGET_LINK_LIBRARIES(cli ubus ubox)
|
||||||
ADD_EXECUTABLE(listener listener.c)
|
ADD_EXECUTABLE(listener listener.c)
|
||||||
TARGET_LINK_LIBRARIES(listener ubus ubox)
|
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
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue