@@ -25,67 +25,42 @@ add_dependencies(simple_wget cppnetlib-uri cppnetlib-client-connections)
25
25
add_dependencies (atom_reader cppnetlib-uri cppnetlib-client-connections )
26
26
add_dependencies (rss_reader cppnetlib-uri cppnetlib-client-connections )
27
27
add_dependencies (trivial_google cppnetlib-uri cppnetlib-client-connections )
28
- set (BOOST_CLIENT_LIBS
29
- ${Boost_PROGRAM_OPTIONS_LIBRARY}
30
- ${Boost_THREAD_LIBRARY}
31
- ${Boost_DATE_TIME_LIBRARY}
32
- ${Boost_REGEX_LIBRARY}
33
- ${Boost_SYSTEM_LIBRARY}
34
- ${Boost_FILESYSTEM_LIBRARY}
35
- ${Boost_CHRONO_LIBRARY} )
36
-
37
- set (BOOST_SERVER_LIBS
38
- ${Boost_THREAD_LIBRARY}
39
- ${Boost_SYSTEM_LIBRARY}
40
- ${Boost_DATE_TIME_LIBRARY}
41
- ${Boost_REGEX_LIBRARY}
42
- ${Boost_PROGRAM_OPTIONS_LIBRARY}
43
- ${Boost_FILESYSTEM_LIBRARY}
44
- ${Boost_CHRONO_LIBRARY} )
45
28
46
29
target_link_libraries (http_client
47
- ${BOOST_CLIENT_LIBS}
48
30
${CMAKE_THREAD_LIBS_INIT}
49
31
cppnetlib-uri
50
32
cppnetlib-client-connections )
51
33
52
34
target_link_libraries (simple_wget
53
- ${BOOST_CLIENT_LIBS}
54
35
${CMAKE_THREAD_LIBS_INIT}
55
36
cppnetlib-uri
56
37
cppnetlib-client-connections )
57
38
58
39
target_link_libraries (atom_reader
59
- ${BOOST_CLIENT_LIBS}
60
40
${CMAKE_THREAD_LIBS_INIT}
61
41
cppnetlib-uri
62
42
cppnetlib-client-connections )
63
43
64
44
target_link_libraries (rss_reader
65
- ${BOOST_CLIENT_LIBS}
66
45
${CMAKE_THREAD_LIBS_INIT}
67
46
cppnetlib-uri
68
47
cppnetlib-client-connections )
69
48
70
49
target_link_libraries (trivial_google
71
- ${BOOST_CLIENT_LIBS}
72
50
${CMAKE_THREAD_LIBS_INIT}
73
51
cppnetlib-uri
74
52
cppnetlib-client-connections )
75
53
76
54
target_link_libraries (hello_world_server
77
- ${BOOST_SERVER_LIBS}
78
55
${CMAKE_THREAD_LIBS_INIT}
79
56
cppnetlib-server-parsers )
80
57
81
58
target_link_libraries (hello_world_client
82
- ${BOOST_CLIENT_LIBS}
83
59
${CMAKE_THREAD_LIBS_INIT}
84
60
cppnetlib-uri
85
61
cppnetlib-client-connections )
86
62
87
63
target_link_libraries (hello_world_async_server_with_work_queue
88
- ${BOOST_CLIENT_LIBS}
89
64
${CMAKE_THREAD_LIBS_INIT}
90
65
cppnetlib-uri
91
66
cppnetlib-client-connections
@@ -126,8 +101,6 @@ endif()
126
101
127
102
if (UNIX )
128
103
target_link_libraries (fileserver
129
- ${BOOST_SERVER_LIBS}
130
- ${Boost_FILESYSTEM_LIBRARY}
131
104
${CMAKE_THREAD_LIBS_INIT}
132
105
cppnetlib-server-parsers )
133
106
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
0 commit comments