uclient-http: end custom header lines with CRLF
[project/uclient.git] / CMakeLists.txt
index 103b992..ee7d91d 100644 (file)
@@ -15,12 +15,13 @@ ENDIF()
 ADD_LIBRARY(uclient SHARED uclient.c uclient-http.c uclient-utils.c)
 TARGET_LINK_LIBRARIES(uclient ubox dl)
 
 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(FILES uclient.h uclient-utils.h
        DESTINATION include/libubox
 )
-INSTALL(TARGETS uclient
+INSTALL(TARGETS uclient uclient-fetch
        LIBRARY DESTINATION lib
        LIBRARY DESTINATION lib
+       RUNTIME DESTINATION bin
 )
 )