X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuclient.git;a=blobdiff_plain;f=CMakeLists.txt;h=1f5efcec17b18e634fddc9a051d9b38bb0836808;hp=f7fd05114c61c5ad16791ca9ad56ac89dbc5856d;hb=f50a654323bbfeb0de53aa2178755b282bcc9d22;hpb=3ddb765bd513a70d128810b65c3a45f81690782e diff --git a/CMakeLists.txt b/CMakeLists.txt index f7fd051..1f5efce 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 ustream-ssl) +ADD_EXECUTABLE(uclient-fetch uclient-fetch.c progress.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 )