X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuclient.git;a=blobdiff_plain;f=CMakeLists.txt;h=ee7d91de2266c39e4e611c209ec065f0150ad691;hp=103b992d39445c75c7c65a115344c59afe674db1;hb=81fdb8fdf1470e1c7bf3124ff20d17feaeb519ee;hpb=bd38e778dc28dbf3e5f0a249689fad2b2c6b7243 diff --git a/CMakeLists.txt b/CMakeLists.txt index 103b992..ee7d91d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,12 +15,13 @@ ENDIF() ADD_LIBRARY(uclient SHARED uclient.c uclient-http.c uclient-utils.c) TARGET_LINK_LIBRARIES(uclient ubox dl) -ADD_EXECUTABLE(uclient-example uclient-example.c) -TARGET_LINK_LIBRARIES(uclient-example uclient) +ADD_EXECUTABLE(uclient-fetch uclient-fetch.c) +TARGET_LINK_LIBRARIES(uclient-fetch uclient) INSTALL(FILES uclient.h uclient-utils.h DESTINATION include/libubox ) -INSTALL(TARGETS uclient +INSTALL(TARGETS uclient uclient-fetch LIBRARY DESTINATION lib + RUNTIME DESTINATION bin )