@@ -17,14 +17,6 @@ if (OPENSSL_FOUND)
1717 add_definitions (-DNETWORK_ENABLE_HTTPS )
1818endif ()
1919
20- if ( NOT CPP-NETLIB_DISABLE_LOGGING )
21- set ( CPP-NETLIB_LOGGING_LIB cppnetlib-logging )
22- endif ()
23-
24- # this library name is defined only if we created the target
25- # if not then it will be empty
26- set ( CPP-NETLIB_LOGGING_LIB cppnetlib-logging )
27-
2820if (CPP-NETLIB_BUILD_TESTS)
2921 # These are the internal (simple) tests.
3022 set (MESSAGE_TESTS request_base_test request_test response_test
@@ -37,8 +29,7 @@ if (CPP-NETLIB_BUILD_TESTS)
3729 cppnetlib-http-message
3830 cppnetlib-http-message-wrappers
3931 cppnetlib-uri
40- cppnetlib-constants
41- )
32+ cppnetlib-constants )
4233 target_link_libraries (cpp-netlib-http-${test}
4334 ${Boost_LIBRARIES}
4435 ${GTEST_BOTH_LIBRARIES}
@@ -49,8 +40,7 @@ if (CPP-NETLIB_BUILD_TESTS)
4940 cppnetlib-http-message
5041 cppnetlib-http-message-wrappers
5142 cppnetlib-uri
52- cppnetlib-constants
53- )
43+ cppnetlib-constants )
5444 set_target_properties (cpp-netlib-http-${test}
5545 PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR } /tests)
5646 add_test (cpp-netlib-http-${test}
@@ -73,8 +63,7 @@ if (CPP-NETLIB_BUILD_TESTS)
7363 cppnetlib-http-message
7464 cppnetlib-http-message-wrappers
7565 cppnetlib-http-client
76- cppnetlib-http-client-connections
77- cppnetlib-logging )
66+ cppnetlib-http-client-connections )
7867 if (OPENSSL_FOUND)
7968 target_link_libraries (cpp-netlib-http-client_test ${OPENSSL_LIBRARIES} )
8069 endif ()
0 commit comments