X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=CMakeLists.txt;h=11044cb63b519236fcd0cc2641d7f99d91434510;hp=e579297ef9401c21e25af58b0b6beba1feb98019;hb=875619ed4ee6bc0d19b0057c9ee60db3b258624a;hpb=ea76fb270d40e11f3c4b02671babc47ffe836646 diff --git a/CMakeLists.txt b/CMakeLists.txt index e579297..11044cb 100644 --- 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 +)