Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc6c249e

Browse files
committed
Fixed missing pthread link.
1 parenta9f42fc commitc6c249e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎libs/network/test/CMakeLists.txt‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ if (Boost_FOUND)
2222
add_executable(cpp-netlib-message_transform_test message_transform_test.cpp)
2323
add_executable(cpp-netlib-url_test url_test.cpp)
2424
target_link_libraries(cpp-netlib-hello_world${Boost_SYSTEM_LIBRARY}${Boost_REGEX_LIBRARY}${Boost_DATE_TIME_LIBRARY}${Boost_THREAD_LIBRARY}${CMAKE_THREAD_LIBS_INIT}${OPENSSL_LIBRARIES} )
25-
target_link_libraries(cpp-netlib-http_1_0_test${Boost_LIBRARIES}${OPENSSL_LIBRARIES})
26-
target_link_libraries(cpp-netlib-http_1_1_test${Boost_LIBRARIES}${OPENSSL_LIBRARIES})
27-
target_link_libraries(cpp-netlib-http_message_test${Boost_LIBRARIES}${OPENSSL_LIBRARIES})
28-
target_link_libraries(cpp-netlib-message_test${Boost_LIBRARIES}${OPENSSL_LIBRARIES})
29-
target_link_libraries(cpp-netlib-message_transform_test${Boost_LIBRARIES}${OPENSSL_LIBRARIES})
30-
target_link_libraries(cpp-netlib-http_localhost_tests${Boost_LIBRARIES}${OPENSSL_LIBRARIES})
31-
target_link_libraries(cpp-netlib-https_localhost_tests${Boost_LIBRARIES}${OPENSSL_LIBRARIES})
25+
target_link_libraries(cpp-netlib-http_1_0_test${Boost_LIBRARIES}${CMAKE_THREAD_LIBS_INIT}${OPENSSL_LIBRARIES})
26+
target_link_libraries(cpp-netlib-http_1_1_test${Boost_LIBRARIES}${CMAKE_THREAD_LIBS_INIT}${OPENSSL_LIBRARIES})
27+
target_link_libraries(cpp-netlib-http_message_test${Boost_LIBRARIES}${CMAKE_THREAD_LIBS_INIT}${OPENSSL_LIBRARIES})
28+
target_link_libraries(cpp-netlib-message_test${Boost_LIBRARIES}${CMAKE_THREAD_LIBS_INIT}${OPENSSL_LIBRARIES})
29+
target_link_libraries(cpp-netlib-message_transform_test${Boost_LIBRARIES}${CMAKE_THREAD_LIBS_INIT}${OPENSSL_LIBRARIES})
30+
target_link_libraries(cpp-netlib-http_localhost_tests${Boost_LIBRARIES}${CMAKE_THREAD_LIBS_INIT}${OPENSSL_LIBRARIES})
31+
target_link_libraries(cpp-netlib-https_localhost_tests${Boost_LIBRARIES}${CMAKE_THREAD_LIBS_INIT}${OPENSSL_LIBRARIES})
3232
target_link_libraries(cpp-netlib-url_test${Boost_LIBRARIES}${OPENSSL_LIBRARIES})
3333
set_target_properties(cpp-netlib-hello_world cpp-netlib-http_1_0_test cpp-netlib-http_1_1_test cpp-netlib-message_test cpp-netlib-http_message_test cpp-netlib-message_transform_test cpp-netlib-http_localhost_tests cpp-netlib-https_localhost_tests cpp-netlib-url_test PROPERTIESRUNTIME_OUTPUT_DIRECTORY ../../../build/tests)
3434
add_test(cpp-netlib-hello_world python httplib_acceptance.py ../../../build/tests/cpp-netlib-hello_world ../../../build/tests/cpp-netlib-hello_world.passed)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp